mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
corey fixed a bug
This commit is contained in:
@@ -43,6 +43,7 @@ module.exports =
|
||||
# Returns true if the file specified by path exists and is a
|
||||
# regular file.
|
||||
isFile: (path) ->
|
||||
path = @absolute path
|
||||
isDir = new jscocoa.outArgument
|
||||
exists = OSX.NSFileManager.defaultManager.
|
||||
fileExistsAtPath_isDirectory path, isDir
|
||||
|
||||
Reference in New Issue
Block a user