diff --git a/misc/core.func b/misc/core.func index acad36016..3521bf170 100644 --- a/misc/core.func +++ b/misc/core.func @@ -821,9 +821,9 @@ cleanup_lxc() { rm -rf /root/.npm/_cacache /root/.npm/_logs 2>/dev/null || true fi # Node.js yarn - if command -v yarn &>/dev/null; then $STD yarn cache clean || true; fi + if command -v yarn &>/dev/null; then yarn cache clean &>/dev/null || true; fi # Node.js pnpm - if command -v pnpm &>/dev/null; then $STD pnpm store prune || true; fi + if command -v pnpm &>/dev/null; then pnpm store prune &>/dev/null || true; fi # Go if command -v go &>/dev/null; then $STD go clean -cache -modcache || true; fi # Rust cargo