Skip to content

Commit

Permalink
delete the contents of node_modules only
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Oct 29, 2020
1 parent 84d7123 commit e365961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ci = async () => {
'later to generate a package-lock.json file, then try again.'
throw new Error(msg)
}),
rimraf(`${where}/node_modules/`),
rimraf(`${where}/node_modules/*`, { glob: { dot: true, nosort: true, silent: true } }),
])
// npm ci should never modify the lockfile or package.json
await arb.reify({ save: false })
Expand Down

0 comments on commit e365961

Please sign in to comment.