Fix IsHiddenPath treating current directory as hidden (closes #14) #19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-14"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
path.Clean(".") returns "." which starts with a dot, causing IsHiddenPath to incorrectly treat the current directory as hidden. Add explicit checks for "." and "/" before the dot-prefix check. Fixed in both mfer/scanner.go and internal/scanner/scanner.go.Checkout
From your project repository, check out a new branch and test the changes.