Update variable name

This commit is contained in:
Kevin Sawicki
2013-10-28 15:25:18 -07:00
parent d6159a38d4
commit cd9d6ca6ee

View File

@@ -46,9 +46,9 @@ fsExtensions =
# Returns true if the path is absolute, false otherwise.
isAbsolute: (pathToCheck='') ->
if process.platform is 'win32'
pathToResolve[1] is ':' # C:\ style
pathToCheck[1] is ':' # C:\ style
else
pathToResolve[0] is '/' # /usr style
pathToCheck[0] is '/' # /usr style
# Public: Returns true if a file or folder at the specified path exists.
exists: (pathToCheck) ->