File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ var beautifyStack = require('./lib/beautify-stack');
6
6
var globals = require ( './lib/globals' ) ;
7
7
var Runner = require ( './lib/runner' ) ;
8
8
var send = require ( './lib/send' ) ;
9
- var log = require ( './lib/logger' ) ;
10
9
11
10
// note that test files have require('ava')
12
11
require ( './lib/test-worker' ) . avaRequired = true ;
@@ -23,8 +22,8 @@ var isForked = typeof process.send === 'function';
23
22
if ( ! isForked ) {
24
23
var fp = path . relative ( '.' , process . argv [ 1 ] ) ;
25
24
26
- log . write ( ) ;
27
- log . error ( 'Test files must be run with the AVA CLI:\n\n ' + chalk . grey . dim ( '$' ) + ' ' + chalk . cyan ( 'ava ' + fp ) + '\n' ) ;
25
+ console . log ( ) ;
26
+ console . error ( 'Test files must be run with the AVA CLI:\n\n ' + chalk . grey . dim ( '$' ) + ' ' + chalk . cyan ( 'ava ' + fp ) + '\n' ) ;
28
27
29
28
process . exit ( 1 ) ;
30
29
}
You can’t perform that action at this time.
0 commit comments