Skip to content

Commit b71813e

Browse files
author
Stephen Lineker-Miller
committed
fix: os.platform is a function call not a property
1 parent d40c3f4 commit b71813e

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)