Skip to content

Commit 6e4c79a

Browse files
committed
Removed parentheses following rubocop advice.
1 parent 68826ce commit 6e4c79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cmock_file_writer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def create_file(filename, subdir)
2222

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

2727
File.open(full_file_name_temp, 'w') do |file|
2828
yield(file, filename)

0 commit comments

Comments
 (0)