We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bb558 commit dd4418cCopy full SHA for dd4418c
session/path.go
@@ -22,12 +22,7 @@ func DeterminePath(choice string) (string, error) {
22
fullPath := dir.FullPath(choice)
23
24
realPath, err := filepath.EvalSymlinks(choice)
25
- if err != nil {
26
- fmt.Println("Couldn't evaluate symbolic link", err)
27
- os.Exit(1)
28
- }
29
-
30
- if path.IsAbs(realPath) {
+ if err == nil && path.IsAbs(realPath) {
31
return realPath, nil
32
}
33
0 commit comments