mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Change platform check from windows to win32
This commit is contained in:
@@ -66,7 +66,7 @@ class Directory
|
||||
return fullPath unless fullPath
|
||||
|
||||
# Normalize forward slashes to back slashes on windows
|
||||
fullPath = fullPath.replace(/\//g, '\\') if process.platform is 'windows'
|
||||
fullPath = fullPath.replace(/\//g, '\\') if process.platform is 'win32'
|
||||
|
||||
if fullPath is @getPath()
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user