Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Dec 20, 2023
1 parent ace0bd8 commit e000228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internalActions.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (

func actionPath(fileSuffixes []string, dirOnly bool) Action {
return ActionCallback(func(c Context) Action {
panic(c.Value)
c.Value = filepath.ToSlash(c.Value)

if len(c.Value) == 2 && util.HasVolumePrefix(c.Value) {
// TODO should be fixed in Abs or wherever this is happening
return ActionValues(c.Value + "/") // prevent `C:` -> `C:.`
Expand Down

0 comments on commit e000228

Please sign in to comment.