@@ -349,7 +349,7 @@ deps.build = function(infos) {
349349 // Add each provided namespace from that file to the map.
350350 info . provides . forEach ( function ( ns ) {
351351 if ( ns in hash ) {
352- $ . util . error ( $ . util . format (
352+ console . error ( $ . util . format (
353353 'Duplicate provide for "%s" in %s and %s.' ,
354354 ns , info . path , hash [ ns ] . path ) ) ;
355355 process . exit ( 1 ) ;
@@ -377,7 +377,7 @@ deps.build = function(infos) {
377377deps . resolve = function ( info , hash , ordered , seen ) {
378378 info . requires . forEach ( function ( ns ) {
379379 if ( ! ( ns in hash ) ) {
380- $ . util . error ( $ . util . format (
380+ console . error ( $ . util . format (
381381 'Missing provide for "%s" required by %s.' ,
382382 ns , info . path ) ) ;
383383 process . exit ( 1 ) ;
@@ -409,13 +409,13 @@ deps.order = function(hash, inputs) {
409409 if ( tests . isNS ( input ) ) {
410410 var ns = NAMESPACE_REGEX . exec ( input ) [ 1 ] ;
411411 if ( ! ( ns in hash ) ) {
412- $ . util . error ( $ . util . format ( 'Missing input namespace "%s".' , ns ) ) ;
412+ console . error ( $ . util . format ( 'Missing input namespace "%s".' , ns ) ) ;
413413 process . exit ( 1 ) ;
414414 }
415415 info = hash [ ns ] ;
416416 } else {
417417 if ( ! ( input in hash ) ) {
418- $ . util . error ( $ . util . format ( 'Missing input file "%s".' , input ) ) ;
418+ console . error ( $ . util . format ( 'Missing input file "%s".' , input ) ) ;
419419 process . exit ( 1 ) ;
420420 }
421421 info = hash [ input ] ;
@@ -532,7 +532,7 @@ function main(opts, args) {
532532 } else if ( opts . mode == 'concat' ) {
533533 output = infos . map ( function ( info ) { return info . content ; } ) . join ( '\n' ) ;
534534 } else {
535- $ . util . error ( 'Unknown output mode' ) ;
535+ console . error ( 'Unknown output mode' ) ;
536536 process . exit ( 1 ) ;
537537 }
538538
0 commit comments