Преглед на файлове

Using console.error where appropriate.

fredck преди 11 години
родител
ревизия
990f13552a
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      dev/tasks/build/builder.js

+ 2 - 2
dev/tasks/build/builder.js

@@ -60,7 +60,7 @@ Builder.prototype = {
 
 		// Before starting, run the initial checkups.
 		if ( !this.checkUp() ) {
-			console.log( 'Build operation aborted.' );
+			console.error( 'Build operation aborted.' );
 			callback( false );
 
 			return;
@@ -90,7 +90,7 @@ Builder.prototype = {
 
 		// Stop if the tmp folder already exists.
 		if ( fs.existsSync( this.tmp ) ) {
-			console.log( 'The "' + this.tmp + '" directory already exists. Delete it and try again.' );
+			console.error( 'The "' + this.tmp + '" directory already exists. Delete it and try again.' );
 
 			return false;
 		}