From 91bb49c4a8e941d40a6212da4aac8b8fbb7024d5 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Mon, 9 Jan 2023 14:50:56 -0500 Subject: [PATCH] Fix same bug as PR #354, but as one line. --- lib/cmock_generator.rb | 2 +- test/unit/cmock_generator_main_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cmock_generator.rb b/lib/cmock_generator.rb index 826bf8b..c3896df 100644 --- a/lib/cmock_generator.rb +++ b/lib/cmock_generator.rb @@ -22,7 +22,7 @@ class CMockGenerator @exclude_setjmp_h = @config.exclude_setjmp_h @subdir = @config.subdir - @includes_h_pre_orig_header = (@config.includes || @config.includes_h_pre_orig_header || []).map { |h| h =~ /