Skip to content

Commit 525a290

Browse files
authored
Merge pull request #586 from stephensli/fix/platform-check
fix: os.platform is a function call not a property
2 parents 6f8b14c + b71813e commit 525a290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solcjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function readFileCallback(sourcePath) {
7878
}
7979

8080
function withUnixPathSeparators(filePath) {
81-
if (os.platform !== 'win32')
81+
if (os.platform() !== 'win32')
8282
// On UNIX-like systems forward slashes in paths are just a part of the file name.
8383
return filePath;
8484

0 commit comments

Comments
 (0)