Regenerated
This commit is contained in:
+395
-394
File diff suppressed because it is too large
Load Diff
+7
-6
@@ -3708,14 +3708,15 @@ ShellRoot {
|
||||
function runStep(index) {
|
||||
if (index >= state.steps.length) {
|
||||
state.running = false
|
||||
state.step = state.steps.length
|
||||
state.step = state.steps.length
|
||||
return
|
||||
}
|
||||
state.step = index
|
||||
state.step = index
|
||||
state.log = "" // clear log for each new step
|
||||
state.running = true
|
||||
stepProc.command = state.steps[index].cmd
|
||||
stepProc.command = state.steps[index].cmd
|
||||
stepProc.workingDirectory = state.steps[index].cwd
|
||||
stepProc.running = true
|
||||
stepProc.running = true
|
||||
}
|
||||
|
||||
Process {
|
||||
@@ -3723,14 +3724,14 @@ ShellRoot {
|
||||
|
||||
stdout: SplitParser {
|
||||
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 {
|
||||
onRead: (line) => {
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -41,14 +41,15 @@ ShellRoot {
|
||||
function runStep(index) {
|
||||
if (index >= state.steps.length) {
|
||||
state.running = false
|
||||
state.step = state.steps.length
|
||||
state.step = state.steps.length
|
||||
return
|
||||
}
|
||||
state.step = index
|
||||
state.step = index
|
||||
state.log = "" // clear log for each new step
|
||||
state.running = true
|
||||
stepProc.command = state.steps[index].cmd
|
||||
stepProc.command = state.steps[index].cmd
|
||||
stepProc.workingDirectory = state.steps[index].cwd
|
||||
stepProc.running = true
|
||||
stepProc.running = true
|
||||
}
|
||||
|
||||
Process {
|
||||
@@ -56,14 +57,14 @@ ShellRoot {
|
||||
|
||||
stdout: SplitParser {
|
||||
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 {
|
||||
onRead: (line) => {
|
||||
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