Regenerated

This commit is contained in:
2026-04-29 12:55:00 +02:00
parent 53f6843356
commit 2ba973cdb3
3 changed files with 409 additions and 406 deletions
+391 -390
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -3712,6 +3712,7 @@ ShellRoot {
return return
} }
state.step = index state.step = index
state.log = "" // clear log for each new step
state.running = true state.running = true
stepProc.command = state.steps[index].cmd stepProc.command = state.steps[index].cmd
stepProc.workingDirectory = state.steps[index].cwd stepProc.workingDirectory = state.steps[index].cwd
@@ -3723,14 +3724,14 @@ ShellRoot {
stdout: SplitParser { stdout: SplitParser {
onRead: (line) => { onRead: (line) => {
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n") state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n").trim()
} }
} }
stderr: SplitParser { stderr: SplitParser {
onRead: (line) => { onRead: (line) => {
if (line.trim() !== "") if (line.trim() !== "")
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n") state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n").trim()
} }
} }
@@ -45,6 +45,7 @@ ShellRoot {
return return
} }
state.step = index state.step = index
state.log = "" // clear log for each new step
state.running = true state.running = true
stepProc.command = state.steps[index].cmd stepProc.command = state.steps[index].cmd
stepProc.workingDirectory = state.steps[index].cwd stepProc.workingDirectory = state.steps[index].cwd
@@ -56,14 +57,14 @@ ShellRoot {
stdout: SplitParser { stdout: SplitParser {
onRead: (line) => { onRead: (line) => {
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n") state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n").trim()
} }
} }
stderr: SplitParser { stderr: SplitParser {
onRead: (line) => { onRead: (line) => {
if (line.trim() !== "") if (line.trim() !== "")
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n") state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n").trim()
} }
} }