From 453c915ce91bbb5a2f2a0af5a858aa2ff0341435 Mon Sep 17 00:00:00 2001 From: "Pascal J. Bourguignon" Date: Thu, 10 Aug 2023 12:44:31 +0200 Subject: [PATCH] Removed including standard libraries from mock sources. --- lib/cmock_file_writer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cmock_file_writer.rb b/lib/cmock_file_writer.rb index ee198061..e4e1c82d 100644 --- a/lib/cmock_file_writer.rb +++ b/lib/cmock_file_writer.rb @@ -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