fix: ORDER BY sur getLatestSnapshot + lisibilité condition EXIT
Suite revue batch D. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ export async function runAction(machineId: string, action: ActionType): Promise<
|
||||
outputHub.publish(machineId, c);
|
||||
});
|
||||
raw = res.stdout;
|
||||
if (/===SU:EXIT=(\d+)===/.exec(raw)?.[1] && /===SU:EXIT=0===/.test(raw) === false) {
|
||||
if (/===SU:EXIT=\d+===/.test(raw) && !/===SU:EXIT=0===/.test(raw)) {
|
||||
status = "error";
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user