rubocop fix.

This commit is contained in:
Mark VanderVoord
2023-01-09 14:30:01 -05:00
parent aefdb44f0c
commit 5838025996
+1 -1
View File
@@ -137,7 +137,7 @@ class CMockGenerator
@file_writer.create_file(mock_project[:module_name] + '.c', @subdir) do |file, fullname|
blank_project = mock_project.clone
blank_project[:parsed_stuff] = { :functions => [] }
if (existing.empty?)
if existing.empty?
create_source_header_section(file, fullname, blank_project)
else
file << existing << "\n"