Skip to content

Commit 5568d31

Browse files
committed
make bulk execute --watch consistent with execute in banner and stdout usage
1 parent 3ca576e commit 5568d31

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/app/src/cli/services/bulk-operations/execute-bulk-operation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ async function renderBulkOperationResult(operation: BulkOperation, outputFile?:
142142
await writeFile(outputFile, results)
143143
renderSuccess({headline, body: [`Results written to ${outputFile}`], customSections})
144144
} else {
145-
outputResult(results)
146145
renderSuccess({headline, customSections})
146+
outputResult(results)
147147
}
148148
} else {
149149
renderSuccess({headline, customSections})

packages/app/src/cli/services/bulk-operations/watch-bulk-operation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export async function watchBulkOperation(
3838
}
3939
},
4040
onAbort,
41+
renderOptions: {stdout: process.stderr},
4142
})
4243
}
4344

0 commit comments

Comments
 (0)