Skip to content

Commit f1c2f07

Browse files
authored
Merge pull request #190 from bentruyman/fix-postinstall
prevent postinstall from running if compiled binary already exists
2 parents e3d3cf4 + 18b0ef7 commit f1c2f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// this is run after npm install
22
// download pre-made module, if possible & exit 1, or exit 0 to tell system if it needs to build
33

4-
const { fs } = require("node:fs/promises");
4+
const fs = require("node:fs/promises");
55
const path = require("node:path");
66
const fetch = require("cross-fetch");
77

0 commit comments

Comments
 (0)