Skip to content

Commit c5aa4bb

Browse files
committed
Avoid unreachable code check
1 parent c15117d commit c5aa4bb

File tree

1 file changed

+1
-1
lines changed
  • cmd/fyne/internal/commands

1 file changed

+1
-1
lines changed

cmd/fyne/internal/commands/env.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func lookupDirWithGoMod(workDir string) (string, error) {
8282
return "", err
8383
}
8484
if fi != nil {
85-
return workDir, nil
85+
break
8686
}
8787
parentDir := filepath.Dir(workDir)
8888
if parentDir == workDir {

0 commit comments

Comments
 (0)