Skip to content

Commit

Permalink
fix: golint error
Browse files Browse the repository at this point in the history
  • Loading branch information
chzar committed Mar 4, 2025
1 parent c617226 commit d97163b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/git/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package git
import (
"context"
"errors"
"fmt"
"io"
"os"
"os/exec"
Expand Down Expand Up @@ -335,7 +334,7 @@ func Test_SemverTags(t *testing.T) {
func Test_SemverTagsPathPrefix(t *testing.T) {
tempDir := t.TempDir()

client, err := NewClientExt(fmt.Sprintf("file://%s", tempDir), tempDir, NopCreds{}, true, false, "", "")
client, err := NewClientExt("file://"+tempDir, tempDir, NopCreds{}, true, false, "", "")
require.NoError(t, err)

err = client.Init()
Expand Down

0 comments on commit d97163b

Please sign in to comment.