File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 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');
66var globals = require ( './lib/globals' ) ;
77var Runner = require ( './lib/runner' ) ;
88var send = require ( './lib/send' ) ;
9- var log = require ( './lib/logger' ) ;
109
1110// note that test files have require('ava')
1211require ( './lib/test-worker' ) . avaRequired = true ;
@@ -23,8 +22,8 @@ var isForked = typeof process.send === 'function';
2322if ( ! isForked ) {
2423 var fp = path . relative ( '.' , process . argv [ 1 ] ) ;
2524
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' ) ;
2827
2928 process . exit ( 1 ) ;
3029}
You can’t perform that action at this time.
0 commit comments