Skip to content

Commit 18e6387

Browse files
committed
[fix] path.existsSync was moved to fs.existsSync
1 parent ff4301b commit 18e6387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mnm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ if(process.platform == 'win32') {
2222
} else {
2323
builder.appendLinkerLibrary("occi");
2424
builder.appendLinkerLibrary("clntsh");
25-
if (path.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
26-
|| path.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
25+
if (fs.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
26+
|| fs.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
2727
builder.appendLinkerLibrary("nnz10");
2828
} else {
2929
builder.appendLinkerLibrary("nnz11");

0 commit comments

Comments
 (0)