lib/strike.rb in strike-0.3.3 vs lib/strike.rb in strike-0.3.5
- old
+ new
@@ -63,10 +63,10 @@
File.open(file) do |profile|
tables = Interpreter.new.parse(profile.read)
Agent.new.call(self, database_url, tables, output || $stdout)
end
else
- $stdout.puts "Profile Error: No such file #{file}"
+ $stderr.puts "Profile Error: No such file #{file}"
end
ensure
output.close if output
end
end