Skip to content

Commit

Permalink
test(lint): fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Nov 1, 2022
1 parent f9c39b3 commit 0581a7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/cli_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (c *cliState) envs() []string {
fmt.Sprintf("LW_NOCACHE=%v", c.noCache),
fmt.Sprintf("LW_NOCOLOR=%s", os.Getenv("NO_COLOR")),
fmt.Sprintf("LW_LOG=%s", c.LogLevel),
fmt.Sprintf("LW_JSON=%s", c.jsonOutput),
fmt.Sprintf("LW_JSON=%v", c.jsonOutput),
}
}

Expand Down
2 changes: 0 additions & 2 deletions cli/cmd/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,9 @@ func filterCLIFlagsFromComponentArgs(args []string, globalFlags []*pflag.Flag) (
case "bool":
isArg = false
cliFlags = append(cliFlags, arg)
break
case "string":
isArg = false
stringFlag = arg
break
}
}
}
Expand Down

0 comments on commit 0581a7a

Please sign in to comment.