Skip to content

Commit 9a2c772

Browse files
committed
Rename err var to avoid shadowing confusion
1 parent 5a641a5 commit 9a2c772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workspace/workspace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func checkSolutionFile(path string) error {
212212
var err error
213213
if _, err = os.Lstat(solutionPath); err == nil {
214214
return nil
215-
} else if _, err := os.Lstat(legacySolutionPath); err == nil {
215+
} else if _, err2 := os.Lstat(legacySolutionPath); err2 == nil {
216216
return migrateLegacySolutionFile(legacySolutionPath, solutionPath)
217217
}
218218
return err

0 commit comments

Comments
 (0)