Skip to content

Commit

Permalink
fix: verify incorrectly compares filenames (#33)
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha authored May 22, 2023
1 parent b658b27 commit de27128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fs/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit de27128

Please sign in to comment.