corey fixed a bug

This commit is contained in:
Chris Wanstrath
2011-11-06 14:39:15 -08:00
parent b3bc415166
commit a61e1c1c2a

View File

@@ -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