Regenerated
This commit is contained in:
+391
-390
File diff suppressed because it is too large
Load Diff
+3
-2
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user