Skip to content

Commit

Permalink
Removed parentheses following rubocop advice.
Browse files Browse the repository at this point in the history
  • Loading branch information
informatimago committed Aug 11, 2023
1 parent cdb700f commit 97aa0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmock_file_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def create_file(filename, subdir)

full_file_name_temp = "#{@config.mock_path}/#{subdir + '/' if subdir}#{filename}.new"
full_file_name_done = "#{@config.mock_path}/#{subdir + '/' if subdir}#{filename}"
puts "Creating #{full_file_name_done.inspect}" unless (@config.verbosity < 2)
puts "Creating #{full_file_name_done.inspect}" unless @config.verbosity < 2

File.open(full_file_name_temp, 'w') do |file|
yield(file, filename)
Expand Down

0 comments on commit 97aa0cd

Please sign in to comment.