mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Update variable name
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user