mirror of
https://github.com/go-home-admin/toolset.git
synced 2025-12-24 13:37:52 +08:00
show
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user