From 0f5ccadc0b2967ac84931f2ddcccb118d57d2cc7 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 17 Aug 2025 11:01:51 -0700 Subject: Fix deletion of secrets in packpub --- worker/scripts/npm_publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/scripts/npm_publish.ts b/worker/scripts/npm_publish.ts index e2a9a6c..9324856 100644 --- a/worker/scripts/npm_publish.ts +++ b/worker/scripts/npm_publish.ts @@ -84,7 +84,7 @@ await LogMetricTraceable.ofLogTraceable(_logJob) .move(packPub) .map((c) => getStdoutMany(c, { streamTraceable: ['stdout', 'stderr'] }).then((e) => { - rmSync(npmRcMount!); + rmSync(join(process.cwd(), '.secrets'), { recursive: true }); return e; }), ) -- cgit v1.2.3-70-g09d2