Skip to content

Commit

Permalink
Merge pull request #260 from simulot:simulot/issue259
Browse files Browse the repository at this point in the history
The log doesn't show discared files
  • Loading branch information
simulot authored May 26, 2024
2 parents 87471f6 + f968bd6 commit c63dc09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/gp/googlephotos.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (to *Takeout) passOneFsWalk(ctx context.Context, w fs.FS) error {
ext := strings.ToLower(path.Ext(base))

if slices.Contains(uselessFiles, base) {
to.log.Record(ctx, fileevent.DiscoveredDiscarded, nil, "reason", "useless file")
to.log.Record(ctx, fileevent.DiscoveredDiscarded, nil, name, "reason", "useless file")
return nil
}

Expand Down

0 comments on commit c63dc09

Please sign in to comment.