Skip to content

Commit e365961

Browse files
committed
delete the contents of node_modules only
1 parent 84d7123 commit e365961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ci.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const ci = async () => {
3131
'later to generate a package-lock.json file, then try again.'
3232
throw new Error(msg)
3333
}),
34-
rimraf(`${where}/node_modules/`),
34+
rimraf(`${where}/node_modules/*`, { glob: { dot: true, nosort: true, silent: true } }),
3535
])
3636
// npm ci should never modify the lockfile or package.json
3737
await arb.reify({ save: false })

0 commit comments

Comments
 (0)