소스 검색

formatted logs

Gildas 7 년 전
부모
커밋
a090aef33c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      lib/single-file/single-file-core.js

+ 3 - 3
lib/single-file/single-file-core.js

@@ -183,7 +183,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 
 		async executeStage(step) {
 			if (DEBUG) {
-				console.log("-- STARTED STAGE --", step); // eslint-disable-line no-console
+				console.log("-- STARTED STAGE", step, "--"); // eslint-disable-line no-console
 			}
 			STAGES[step].sync.forEach(task => {
 				let startTime;
@@ -201,7 +201,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 					let startTime;
 					if (DEBUG) {
 						startTime = Date.now();
-						console.log("STARTED", task.action, "..."); // eslint-disable-line no-console
+						console.log("STARTED", task.action); // eslint-disable-line no-console
 					}
 					const promise = this.executeTask(task, !step);
 					if (DEBUG) {
@@ -211,7 +211,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 				}));
 			}
 			if (DEBUG) {
-				console.log("-- ENDED STAGE --", step); // eslint-disable-line no-console
+				console.log("-- ENDED STAGE", step, "--"); // eslint-disable-line no-console
 			}
 		}