Skip to content

Commit

Permalink
Fixed a refactoring issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Dec 27, 2024
1 parent a6296c9 commit eecfa20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ceedling/preprocessinator_includes_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ def common_includes(shallow:, nested:, deep: false)

# Determine the filenames to include in our list
basenames = if deep
( _nested.to_set.union( _shallow.to_set ) )
( _nested.keys.to_set.union( _shallow.keys.to_set ) )
else
( _nested.to_set.intersection( _shallow.to_set ) )
( _nested.keys.to_set.intersection( _shallow.keys.to_set ) )
end

# Iterate through the basenames and return the fullest version of each
Expand Down

0 comments on commit eecfa20

Please sign in to comment.