Skip to content

Commit

Permalink
fix(cli): don't print "Tools" header in tools command
Browse files Browse the repository at this point in the history
This was getting in the way of automation.
  • Loading branch information
edvald committed Feb 27, 2021
1 parent 3c8f10d commit 07a06fd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/src/commands/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { dedent, renderTable, tablePresets } from "../util/string"
import { LogEntry } from "../logger/log-entry"
import { Garden, DummyGarden } from "../garden"
import { Command, CommandParams } from "./base"
import { getTerminalWidth, printHeader } from "../logger/util"
import { getTerminalWidth } from "../logger/util"
import { LoggerType } from "../logger/logger"
import { ParameterError } from "../exceptions"
import { uniqByName, exec, shutdown } from "../util/util"
Expand Down Expand Up @@ -74,9 +74,8 @@ export class ToolsCommand extends Command<Args, Opts> {
getLoggerType(): LoggerType {
return "basic"
}
printHeader({ headerLog }) {
printHeader(headerLog, "Tools", "hammer_and_wrench")
}

printHeader() {}

async prepare({ log }) {
// Override the logger output, to output to stderr instead of stdout, to avoid contaminating command output
Expand Down

0 comments on commit 07a06fd

Please sign in to comment.