Regenerated
This commit is contained in:
+8
-9
@@ -3721,22 +3721,21 @@ ShellRoot {
|
||||
Process {
|
||||
id: stepProc
|
||||
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
state.log = text.split("\n").slice(-6).join("\n")
|
||||
stdout: SplitParser {
|
||||
onRead: (line) => {
|
||||
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n")
|
||||
}
|
||||
}
|
||||
|
||||
stderr: StdioCollector {
|
||||
onStreamFinished: {
|
||||
if (text.trim() !== "")
|
||||
state.log = text.split("\n").slice(-6).join("\n")
|
||||
stderr: SplitParser {
|
||||
onRead: (line) => {
|
||||
if (line.trim() !== "")
|
||||
state.log = (state.log + "\n" + line).split("\n").slice(-8).join("\n")
|
||||
}
|
||||
}
|
||||
|
||||
onExited: (code) => {
|
||||
if (code !== 0 && state.step !== 3) {
|
||||
// step 3 is git commit — may exit 1 if nothing to commit, that's fine
|
||||
state.failed = true
|
||||
state.running = false
|
||||
} else {
|
||||
@@ -3851,7 +3850,7 @@ ShellRoot {
|
||||
// Log output
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 80
|
||||
height: 160
|
||||
radius: 8
|
||||
color: colors.surface0
|
||||
visible: state.log !== ""
|
||||
|
||||
Reference in New Issue
Block a user