Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
doriable committed Dec 3, 2024
1 parent 2907b2a commit fbdc7dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions private/bufpkg/bufimage/bufimageutil/bufimageutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,7 @@ func ImageFilteredByTypesWithOptions(image bufimage.Image, types []string, opts
imageFileDescriptor.Dependency[indexTo] = importPath
indexTo++
// delete them as we go, so we know which ones weren't in the list
if err := importsRequired.delete(importPath); err != nil {
return nil, err
}
importsRequired.delete(importPath)
} else {
// Path did not exist in required imports, we mark as deleted.
sourcePathRemapper.markDeleted(path)
Expand Down

0 comments on commit fbdc7dc

Please sign in to comment.