We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40757fd commit 394ed17Copy full SHA for 394ed17
1 file changed
src/cli/commands/rollback.ts
@@ -47,7 +47,7 @@ export async function cmdRollback(
47
if (config.app === 'backend' && config.pm2?.name) {
48
const nodeVersion = config.nodeVersion === 'lts' ? '24' : config.nodeVersion;
49
const mise = `export PATH="$HOME/.local/bin:$HOME/.local/share/mise/shims:$PATH"`;
50
- await executor.exec(
+ await executor.execOrThrow(
51
`${mise}; mise exec node@${nodeVersion} -- pm2 reload ${config.pm2.name} --update-env`,
52
);
53
ui.success('PM2 reloaded');
0 commit comments