Skip to content

Commit 8fa41ad

Browse files
committed
Revert "Resolve symlinks when looking for TINYGOROOT"
This reverts commit 82f306f.
1 parent 668be61 commit 8fa41ad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

goenv/goenv.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,6 @@ func sourceDir() string {
213213
// Very unlikely. Bail out if it happens.
214214
panic("could not get executable path: " + err.Error())
215215
}
216-
resolved, err := filepath.EvalSymlinks(path)
217-
if err == nil {
218-
path = resolved
219-
}
220216
root = filepath.Dir(filepath.Dir(path))
221217
if isSourceDir(root) {
222218
return root

0 commit comments

Comments
 (0)