mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Use string because it is easier to read
This commit is contained in:
parent
763c5053ad
commit
c7bd1f0a87
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user