fix(scripts): desktop-fresh kill guard referenced the wrong dry-run flag (#1078)
The kill-before-wipe block used DRY_RUN; the script's flag is dryRun — any run with a live instance crashed with ReferenceError before wiping. Co-authored-by: mergetest <test@local> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
mergetest
Claude Fable 5
parent
fb0508f4f6
commit
d3e88c0f3e
@@ -159,7 +159,7 @@ function sizeOf(p) {
|
||||
};
|
||||
const pids = findPids();
|
||||
if (pids.length > 0) {
|
||||
if (DRY_RUN) {
|
||||
if (dryRun) {
|
||||
console.log(`🔪 Would terminate running ${APP_NAME} processes: ${pids.join(", ")}\n`);
|
||||
} else {
|
||||
console.log(`🔪 Terminating running ${APP_NAME} processes (${pids.join(", ")})...`);
|
||||
|
||||
Reference in New Issue
Block a user