|
if (!req.body?.project?.projectName) { |
The above really should come before copy the base code, could easily create many unused projects until the next cleanup is run.
(projectName check before copying the baseCode)
If you're accepting external PR's, I could do it... not that this isn't an extremely simple change.
Great job so far, could have a great future.
cloud-ide/server/src/projects.js
Line 27 in cd06df1
The above really should come before copy the base code, could easily create many unused projects until the next cleanup is run.
(projectName check before copying the baseCode)
If you're accepting external PR's, I could do it... not that this isn't an extremely simple change.
Great job so far, could have a great future.