use prebuild instead of postinstall

This commit is contained in:
Jörg Breitbart
2019-10-25 22:11:51 +02:00
parent 04f828bc1a
commit 03435a9f4d
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -29,8 +29,6 @@ if (fs.existsSync(addonsPath)) {
const addonPath = path.join(addonsPath, folder);
// install only if there are dependencies listed
// also skip addon if it does not contain any package.json
// (might happen after branch switches)
let packageJson;
try {
packageJson = require(path.join(addonPath, 'package.json'));