Skip to content

Commit ff4f1d7

Browse files
committed
refactored the nolint spec
1 parent 19289cc commit ff4f1d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/cli/readline/editor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ func buildEditorCmd(filePath string) *exec.Cmd {
8282
args = append(args, filePath)
8383
}
8484

85-
cmd := exec.Command(args[0], args[1:]...) //nolint:gosec // $EDITOR is a user-controlled local env var, same trust model as git/kubectl
85+
//nolint:gosec // $EDITOR is a user-controlled local env var, same trust model as git/kubectl
86+
cmd := exec.Command(args[0], args[1:]...)
8687
cmd.Stdin = os.Stdin
8788
cmd.Stdout = os.Stdout
8889
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)