mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
chore(scripts): Remove prune from shrinkwrap cleanup (#1338)
Newer npm versions (4.4+ I believe) even remove dependencies not shrinkwrapped yet while pruning causing newly installed dependencies to not always be shrinkwrapped / updated in the shrinkwrap. Removing the prune allows for this to work properly again and in the future, with the drawback that care must be taken to not have extraneous dependencies in the module tree. Change-Type: patch
This commit is contained in:
parent
0f8ad15e45
commit
b06d39726f
@ -38,7 +38,5 @@ const npm = (command) => {
|
||||
|
||||
npm([ 'rm', '--ignore-scripts' ].concat(shrinkwrapIgnore))
|
||||
.once('close', () => {
|
||||
npm([ 'prune' ]).once('close', () => {
|
||||
console.log('Done.');
|
||||
});
|
||||
console.log('Done.');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user