mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 09:33:08 +02:00
Simplify comment (#4164)
This commit is contained in:
parent
e9955e01d6
commit
b299988bb5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue