mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Use string because it is easier to read
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user