Use string because it is easier to read

This commit is contained in:
probablycorey 2014-02-13 10:03:44 -08:00
parent 763c5053ad
commit c7bd1f0a87

View File

@ -18,7 +18,7 @@ symlinkCommand = (sourcePath, destinationPath, callback) ->
if error?
callback(error)
else
fs.chmod(destinationPath, 0o755, callback)
fs.chmod(destinationPath, '755', callback)
symlinkCommandWithPrivilegeSync = (sourcePath, destinationPath) ->
if runas('/bin/rm', ['-f', destinationPath], admin: true) != 0