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) {
|
function runStep(index) {
|
||||||
if (index >= state.steps.length) {
|
if (index >= state.steps.length) {
|
||||||
state.running = false
|
state.running = false
|
||||||
state.step = state.steps.length
|
state.step = state.steps.length
|
||||||
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
|
||||||
stepProc.running = true
|
stepProc.running = true
|
||||||
}
|
}
|
||||||
|
|
||||||
Process {
|
Process {
|
||||||
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,14 +41,15 @@ ShellRoot {
|
|||||||
function runStep(index) {
|
function runStep(index) {
|
||||||
if (index >= state.steps.length) {
|
if (index >= state.steps.length) {
|
||||||
state.running = false
|
state.running = false
|
||||||
state.step = state.steps.length
|
state.step = state.steps.length
|
||||||
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
|
||||||
stepProc.running = true
|
stepProc.running = true
|
||||||
}
|
}
|
||||||
|
|
||||||
Process {
|
Process {
|
||||||
@@ -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