From d7dc100c868e1b236e222c2c85a52fb7cbb336fe Mon Sep 17 00:00:00 2001 From: baichou Date: Fri, 9 Sep 2022 14:54:52 +0800 Subject: [PATCH] show --- console/commands/protoc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/commands/protoc.go b/console/commands/protoc.go index 7e5bdb3..90a7f14 100644 --- a/console/commands/protoc.go +++ b/console/commands/protoc.go @@ -46,7 +46,7 @@ func (ProtocCommand) Configure() command.Configure { var show = false func (ProtocCommand) Execute(input command.Input) { - show = input.GetOption("debug") != "false" + show = input.GetOption("debug") == "true" root := getRootPath() _, err := exec.LookPath("protoc") if err != nil {