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.
|
||
|---|---|---|
| .. | ||
| builder_test.go | ||
| builder.go | ||
| checker_test.go | ||
| checker.go | ||
| constants.go | ||
| deserialize.go | ||
| gpg_test.go | ||
| gpg.go | ||
| manifest.go | ||
| mf.go | ||
| mf.pb.go | ||
| mf.proto | ||
| scanner_test.go | ||
| scanner.go | ||
| serialize.go | ||
| url.go | ||