From 37f0218d6228fa0775bc406e611df15dff6400a2 Mon Sep 17 00:00:00 2001 From: Oscar Busk Date: Tue, 28 Oct 2025 00:29:18 +0100 Subject: [PATCH] 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. --- dist/index.js | Bin 271447 -> 271540 bytes src/pnpm-store-prune/index.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index c61ceab1925a34756a7c67e0306a84f2247dd391..1e543bdcb57f8165389b7321bc7730c1381b5d3e 100644 GIT binary patch delta 158 zcmcb9LSV~Dfeo9b>;3W-GV_W{5_57ClJj$O6Z2Av70OeKQWc6y^K=x7voi|{GV{_E z3i1ka6^cvpff5BknN%HxqSV~f+@#bZg_3-bT7}FKg~YTHARnw0W@cuZLULkq2FQq# nj8upTdPD(3*9@l delta 53 zcmdmTQsDXtfeo9b#R7^-^D^_&6*7wzO7rqklT(X}6N@UF)nwY$WEg>%35c1utI4qR GaR2~3UJ^L~ diff --git a/src/pnpm-store-prune/index.ts b/src/pnpm-store-prune/index.ts index 5b1a2dd..1e1d6de 100644 --- a/src/pnpm-store-prune/index.ts +++ b/src/pnpm-store-prune/index.ts @@ -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 }