Skip to content

Commit 8588c96

Browse files
ObserverOfTimeamaanq
authored andcommitted
fix(bindings): fix scanner check in binding.gyp
Use `fs.existsSync` rather than `fs.exists`
1 parent 66a1bc5 commit 8588c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/templates/binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"src/parser.c",
1414
],
1515
"variables": {
16-
"has_scanner": "<!(node -p \"fs.exists('src/scanner.c')\")"
16+
"has_scanner": "<!(node -p \"fs.existsSync('src/scanner.c')\")"
1717
},
1818
"conditions": [
1919
["has_scanner=='true'", {

0 commit comments

Comments
 (0)