mirror of
https://github.com/pnpm/action-setup.git
synced 2026-03-13 22:00:25 +00:00
Make the message when not pruning more helpful
The original message made it sound like it checked the store and decided there was nothing to prune, in reality pruning just did not run if run_install was not set.
This commit is contained in:
parent
3cec5320c9
commit
37f0218d62
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -5,7 +5,7 @@ import { patchPnpmEnv } from '../utils'
|
||||
|
||||
export function pruneStore(inputs: Inputs) {
|
||||
if (inputs.runInstall.length === 0) {
|
||||
console.log('Pruning is unnecessary.')
|
||||
console.log('No install commands were run, skipping pnpm store prune, remember to run it after pnpm install if caching the store.')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user