Skip to content

Commit

Permalink
fix: fix default log level on header and finish methods
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Apr 13, 2018
1 parent e6d84e1 commit 1eb143d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class RootLogNode extends LogNode {
}

public header(
{ command, emoji, level = LogLevel.verbose }: { command: string, emoji?: string, level?: LogLevel },
{ command, emoji, level = LogLevel.info }: { command: string, emoji?: string, level?: LogLevel },
): LogEntry {
const msg = combine([
[chalk.bold.magenta(command)],
Expand All @@ -260,7 +260,7 @@ export class RootLogNode extends LogNode {
}

public finish(
{ showDuration = true, level = LogLevel.verbose }: { showDuration?: boolean, level?: LogLevel } = {},
{ showDuration = true, level = LogLevel.info }: { showDuration?: boolean, level?: LogLevel } = {},
): LogEntry {
const msg = combine([
[`\n${nodeEmoji.get("sparkles")} Finished`],
Expand Down

0 comments on commit 1eb143d

Please sign in to comment.