Skip to content

Commit 8506637

Browse files
committed
Revert "Merge pull request ipfs#3023 from ipfs/feature/eval-symlink-windows"
This reverts commit 16c5a89, reversing changes made to 8c77ff8. Conflicts: commands/cli/parse.go License: MIT Signed-off-by: Kevin Atkinson <[email protected]>
1 parent 533e33e commit 8506637

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

commands/cli/parse.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,7 @@ func appendFile(fpath string, argDef *cmds.Argument, recursive, hidden bool) (fi
409409
fpath = cwd
410410
}
411411

412-
fpath = filepath.Clean(fpath)
413-
414-
// Repeat ToSlash after EvalSymlinks as it turns path to platform specific
415-
fpath = filepath.ToSlash(fpath)
412+
fpath = filepath.ToSlash(filepath.Clean(fpath))
416413

417414
stat, err := os.Lstat(fpath)
418415
if err != nil {

0 commit comments

Comments
 (0)