Skip to content

Commit

Permalink
nuke the whole npm cache, not parts of it
Browse files Browse the repository at this point in the history
seems nuking parts breaks it 🤷
  • Loading branch information
evgeni authored and ekohl committed Jul 23, 2024
1 parent bc73ae1 commit 223c3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppet/modules/jenkins_node/templates/npm_cleaner.sh.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

find <%= @homedir %>/tmp -maxdepth 1 -name 'npm-*' -type d -mtime +1 -exec rm -rf {} +
find <%= @homedir %>/.npm/_cacache/ -type f -mtime +3 -delete
rm -rf <%= @homedir %>/.npm/_cacache/

0 comments on commit 223c3fa

Please sign in to comment.