Skip to content

Commit

Permalink
fix: handle missing files
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
  • Loading branch information
rchincha committed Apr 11, 2024
1 parent 9a3eb8f commit f1a4d07
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 @@ -34,7 +34,7 @@ func checkBOM(input, pathEntry string) error {
for _, file := range pkg.Files() {
symlink, err := filepath.EvalSymlinks(file.Name)
if err != nil {
log.Error().Err(err).Str("path", file.Name).Msg("unable to resolve symlink")
log.Error().Err(err).Str("path", file.Name).Str("package", pkg.Name).Msg("unable to resolve symlink")

return err
}
Expand Down

0 comments on commit f1a4d07

Please sign in to comment.