Change platform check from windows to win32

This commit is contained in:
Kevin Sawicki
2013-11-01 12:27:20 -07:00
parent e8f8cd2dcd
commit 7e043f5bc6

View File

@@ -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()
''