Simplify comment (#4164)

This commit is contained in:
Aya Morisawa 2019-02-06 13:52:32 +09:00 committed by syuilo
parent e9955e01d6
commit b299988bb5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ export default class Logger {
this.log(important ? chalk.bgGreen.white('DONE') : chalk.green('DONE'), chalk.green(message), important); this.log(important ? chalk.bgGreen.white('DONE') : chalk.green('DONE'), chalk.green(message), important);
} }
public debug(message: string, important = false): void { // デバッグ用に使う(開発者にとっては必要だが利用者にとっては不要な情報) public debug(message: string, important = false): void { // デバッグ用に使う(開発者に必要だが利用者に不要な情報)
if (process.env.NODE_ENV != 'production' || program.verbose) { if (process.env.NODE_ENV != 'production' || program.verbose) {
this.log(chalk.gray('VERB'), chalk.gray(message), important); this.log(chalk.gray('VERB'), chalk.gray(message), important);
} }