mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove unnecessary chmod command
This commit is contained in:
@@ -14,11 +14,7 @@ symlinkCommand = (sourcePath, destinationPath, callback) ->
|
||||
if error?
|
||||
callback(error)
|
||||
else
|
||||
fs.symlink sourcePath, destinationPath, (error) ->
|
||||
if error?
|
||||
callback(error)
|
||||
else
|
||||
fs.chmod(destinationPath, '755', callback)
|
||||
fs.symlink sourcePath, destinationPath, callback
|
||||
|
||||
symlinkCommandWithPrivilegeSync = (sourcePath, destinationPath) ->
|
||||
if runas('/bin/rm', ['-f', destinationPath], admin: true) != 0
|
||||
|
||||
Reference in New Issue
Block a user