Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add quotes to copy function for version history to allow for spaces i…

…n paths.
  • Loading branch information...
commit bc0759c25bacaed83d8166a709914f15eb3316d6 1 parent bff9ffd
@iwizardpro iwizardpro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server/project.js
View
2  server/project.js
@@ -31,7 +31,7 @@ setInterval(function() {
date: (new Date()).valueOf(),
uuid: generatedUuid
})
- exec('cp -- ' + (process.cwd() + file) + ' ' + (process.cwd() + '/.nide/' + generatedUuid), function(err) {
+ exec('cp -- "' + (process.cwd() + file) + '" "' + (process.cwd() + '/.nide/' + generatedUuid) + '"', function(err) {
if (!err) {
saveVersionHistory()
}
Please sign in to comment.
Something went wrong with that request. Please try again.