mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Fix tmux executeCommand exitCode parsing
This commit is contained in:
@@ -591,7 +591,8 @@ export async function executeCommand({
|
||||
pane.id,
|
||||
"#{pane_dead_status}",
|
||||
]);
|
||||
exitCode = parseInt(exitCodeStr, 10);
|
||||
const parsed = parseInt(exitCodeStr, 10);
|
||||
exitCode = Number.isFinite(parsed) ? parsed : null;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user