mirror of
https://github.com/atom/atom.git
synced 2026-02-18 10:31:54 -05:00
Rename isExecutable() to isExecutableSync()
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports =
|
||||
false
|
||||
|
||||
# Returns true if the specified path is exectuable.
|
||||
isExecutable: (path) ->
|
||||
isExecutableSync: (path) ->
|
||||
try
|
||||
(fs.statSync(path).mode & 0o777 & 1) isnt 0
|
||||
catch e
|
||||
|
||||
Reference in New Issue
Block a user