Skip to content

Commit f8755c9

Browse files
committed
fix: merge variable declaration with assignment to satisfy linter
1 parent ce15297 commit f8755c9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/runtime/runtime_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ func Test_ActivatePythonVenvIfPresent(t *testing.T) {
8686

8787
if tc.createVenv {
8888
// Create the pip executable so venvExists returns true
89-
var pipPath string
90-
pipPath = filepath.Join(venvPath, "bin", "pip")
89+
pipPath := filepath.Join(venvPath, "bin", "pip")
9190
err := fs.MkdirAll(filepath.Dir(pipPath), 0755)
9291
require.NoError(t, err)
9392
err = afero.WriteFile(fs, pipPath, []byte(""), 0755)

0 commit comments

Comments
 (0)