We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c6c310 + 4af3ee8 commit b8cf48eCopy full SHA for b8cf48e
1 file changed
test/integration/use_int_test.go
@@ -126,8 +126,9 @@ func (suite *UseIntegrationTestSuite) TestReset() {
126
127
cfg, err := config.New()
128
suite.NoError(err)
129
- rcfile, err := subshell.New(cfg).RcFile()
130
- if runtime.GOOS != "windows" && fileutils.FileExists(rcfile) {
+ if runtime.GOOS != "windows" {
+ rcfile, err := subshell.New(cfg).RcFile()
131
+ fileutils.FileExists(rcfile)
132
133
suite.Contains(string(fileutils.ReadFileUnsafe(rcfile)), ts.Dirs.DefaultBin, "PATH does not have your project in it")
134
}
0 commit comments