diff --git a/pkg/fs/verify.go b/pkg/fs/verify.go index f7d73da..7d9f31c 100644 --- a/pkg/fs/verify.go +++ b/pkg/fs/verify.go @@ -36,7 +36,7 @@ func checkBOM(input, pathEntry string) error { return err } - if file.Name != pathEntry && file.Name != symlink { + if file.Name != pathEntry && symlink != pathEntry { continue }