Skip to content

Commit

Permalink
fix(release): do not stop daemon in dry-run (#21743)
Browse files Browse the repository at this point in the history
(cherry picked from commit a568df2)
  • Loading branch information
JamesHenry authored and FrozenPandaz committed Feb 9, 2024
1 parent 342ce28 commit 4adc24f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export async function updateLockFile(
}

const isDaemonEnabled = daemonClient.enabled();
if (isDaemonEnabled) {
// temporarily stop the daemon, as it will error if the lock file is updated
if (!dryRun && isDaemonEnabled) {
// if not in dry-run temporarily stop the daemon, as it will error if the lock file is updated
await daemonClient.stop();
}

Expand Down

0 comments on commit 4adc24f

Please sign in to comment.