Skip to content

Commit 0fd8653

Browse files
committed
Add back nfpm fix
1 parent f42ec1b commit 0fd8653

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extensions/postinstall.js

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ function processRoot() {
2424
rimraf.sync(filePath);
2525
}
2626
}
27+
28+
// Delete .bin so it doesn't contain broken symlinks that trip up nfpm.
29+
rimraf.sync(path.join(__dirname, 'node_modules', '.bin'));
2730
}
2831

2932
function processLib() {

0 commit comments

Comments
 (0)