Fix Node.js postinstall
This commit is contained in:
parent
a246e72b4e
commit
e63fc8d27f
|
@ -32,9 +32,11 @@
|
|||
"node": ">= 8.6.0"
|
||||
},
|
||||
"homepage": "https://github.com/wilsonzlin/minify-html#readme",
|
||||
"dependencies": {
|
||||
"cargo-cp-artifact": "^0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^14.6.0",
|
||||
"cargo-cp-artifact": "^0.1",
|
||||
"shx": "^0.3.4"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
|
@ -46,7 +46,7 @@ const downloadNativeBinary = async () => {
|
|||
throw e;
|
||||
}
|
||||
|
||||
fs.writeFileSync(binaryPath, zlib.gunzipSync(binary));
|
||||
fs.writeFileSync(binaryPath, binary);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue