Skip to content

Commit 0b6f2ce

Browse files
committed
review: simplification
1 parent 5cc16fd commit 0b6f2ce

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/fsutils/fsutils_windows.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,5 @@ func evalSymlinks(path string) (string, error) {
3434
}
3535

3636
// If exists, we make the path absolute, to be sure...
37-
abs, err := filepath.Abs(path)
38-
if err != nil {
39-
return "", err
40-
}
41-
42-
return abs, nil
37+
return filepath.Abs(path)
4338
}

0 commit comments

Comments
 (0)