Skip to content

Commit

Permalink
Removed including standard libraries from mock sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
informatimago committed Dec 5, 2023
1 parent 509eacf commit 453c915
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cmock_file_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +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

$stderr.puts "Creating #{full_file_name_done.inspect}" unless (@config.verbosity < 2)
File.open(full_file_name_temp, 'w') do |file|
yield(file, filename)
end
Expand Down

0 comments on commit 453c915

Please sign in to comment.