Skip to content

Commit f998ebc

Browse files
Fix Terminal method call - use t.Vprint instead of t.Printf
- Terminal type doesn't have Printf method, only Print/Vprint/Vprintf - Use t.Vprint with string concatenation following codebase patterns - Resolves build error: 't.Printf undefined' Co-Authored-By: Alec Fong <alecsanf@usc.edu>
1 parent 981e38c commit f998ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cmd/open/open.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func handleSetDefault(t *terminal.Terminal, editorType string) error {
122122
return breverrors.WrapAndTrace(err)
123123
}
124124

125-
t.Printf(t.Green("Default editor set to %s\n"), editorType)
125+
t.Vprint(t.Green("Default editor set to " + editorType + "\n"))
126126
return nil
127127
}
128128

0 commit comments

Comments
 (0)