Skip to content

Commit 07ef34f

Browse files
committed
lint fix
1 parent bb6e117 commit 07ef34f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/open/exec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
func open(uri string) *exec.Cmd {
1313
switch {
1414
case os.Getenv(DisabledEnvKey) != "":
15-
fmt.Println(fmt.Sprintf("xdg-open %s", uri))
15+
fmt.Printf("xdg-open %s\n", uri)
1616
return nil
1717
default:
1818
return exec.Command("xdg-open", uri)
@@ -22,7 +22,7 @@ func open(uri string) *exec.Cmd {
2222
func openWith(input string, appName string) *exec.Cmd {
2323
switch {
2424
case os.Getenv(DisabledEnvKey) != "":
25-
fmt.Println(fmt.Sprintf("%s %s", appName, input))
25+
fmt.Printf("%s %s\n", appName, input)
2626
return nil
2727
default:
2828
return exec.Command(appName, input)

0 commit comments

Comments
 (0)