File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { executeRunner } from './lib/runner' ;
2
2
3
- await executeRunner ( ) . catch ( console . error ) ;
3
+ await executeRunner ( ) ;
Original file line number Diff line number Diff line change @@ -20,14 +20,13 @@ export async function executeRunner(): Promise<void> {
20
20
// Run coverage tool if provided
21
21
if ( coverageToolCommand != null ) {
22
22
const { command, args } = coverageToolCommand ;
23
-
24
23
try {
25
24
await executeProcess ( { command, args } ) ;
26
25
} catch ( error ) {
27
26
if ( error instanceof ProcessError ) {
28
- console . info ( chalk . bold ( 'stdout from failed process:' ) ) ;
29
- console . info ( error . stdout ) ;
30
- console . error ( chalk . bold ( 'stderr from failed process:' ) ) ;
27
+ console . error ( chalk . bold ( 'stdout from failed coverage tool process:' ) ) ;
28
+ console . error ( error . stdout ) ;
29
+ console . error ( chalk . bold ( 'stderr from failed coverage tool process:' ) ) ;
31
30
console . error ( error . stderr ) ;
32
31
}
33
32
Original file line number Diff line number Diff line change 1
1
import { executeRunner } from './lib/runner' ;
2
2
3
- await executeRunner ( ) . catch ( console . error ) ;
3
+ await executeRunner ( ) ;
You can’t perform that action at this time.
0 commit comments