瀏覽代碼

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;
 		}