Skip to content

Commit 24c7360

Browse files
committed
sizerExe(): add a default clause to the switch statement
Humor the linter.
1 parent a075a1b commit 24c7360

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git_sizer_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ import (
2727
func sizerExe(t *testing.T) string {
2828
t.Helper()
2929

30-
v := "bin/git-sizer"
30+
var v string
3131
switch runtime.GOOS {
3232
case "windows":
3333
v = `bin\git-sizer.exe`
34+
default:
35+
v = "bin/git-sizer"
3436
}
3537

3638
v, err := exec.LookPath(v)

0 commit comments

Comments
 (0)