We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce15297 commit f8755c9Copy full SHA for f8755c9
1 file changed
internal/runtime/runtime_test.go
@@ -86,8 +86,7 @@ func Test_ActivatePythonVenvIfPresent(t *testing.T) {
86
87
if tc.createVenv {
88
// Create the pip executable so venvExists returns true
89
- var pipPath string
90
- pipPath = filepath.Join(venvPath, "bin", "pip")
+ pipPath := filepath.Join(venvPath, "bin", "pip")
91
err := fs.MkdirAll(filepath.Dir(pipPath), 0755)
92
require.NoError(t, err)
93
err = afero.WriteFile(fs, pipPath, []byte(""), 0755)
0 commit comments