Skip to content

Commit 75e247e

Browse files
authored
chore(nx): Fix TS error in debug tooling (#466)
1 parent 5d096cb commit 75e247e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/framework-tools/tarsync/debug-task-scheduling.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ class TaskSchedulingDebugger {
130130
this.parseNxOutput(combinedOutput, captureStart)
131131
} catch (error) {
132132
// Even if the build fails, we want to analyze what happened
133-
const errorOutput = error.stdout + '\n' + error.stderr
133+
const errorOutput =
134+
(error as { stdout?: string }).stdout +
135+
'\n' +
136+
(error as { stderr?: string }).stderr
134137
this.executionLog.push(`ERROR: ${errorOutput}`)
135138
this.parseNxOutput(errorOutput, captureStart)
136139
}

0 commit comments

Comments
 (0)