From eecfa20b808b1847fea41e1b41b6a77d31d8869c Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Fri, 27 Dec 2024 15:29:06 -0500 Subject: [PATCH] Fixed a refactoring issue. --- lib/ceedling/preprocessinator_includes_handler.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ceedling/preprocessinator_includes_handler.rb b/lib/ceedling/preprocessinator_includes_handler.rb index dcdd7074..b5ed1243 100644 --- a/lib/ceedling/preprocessinator_includes_handler.rb +++ b/lib/ceedling/preprocessinator_includes_handler.rb @@ -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