Skip to content

Commit 6bcf5eb

Browse files
committed
Revert "Revert "Always send output to flake callback""
This reverts commit db496ec.
1 parent 8be0cd0 commit 6bcf5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function flake (options: object | undefined = {}, callback: Function | undefined
2424

2525
function handleTestEnd (status: number, output = '') {
2626
if (status === 0) {
27-
callback(status)
27+
callback(status, output)
2828
} else {
2929
if (++testAttempt <= parsedOptions.maxAttempts) {
3030
logger.log('info', `\nUsing ${parser.name} to parse output\n`)

0 commit comments

Comments
 (0)