lib/jets/commands/runner.rb in jets-1.6.0 vs lib/jets/commands/runner.rb in jets-1.6.1
- old
+ new
@@ -6,10 +6,10 @@
path = code.sub('file://', '')
full_path = "#{Jets.root}#{path}"
if File.exist?(full_path)
code = IO.read(full_path)
else
- puts "ERROR: file not found at #{full_path}".colorize(:red)
+ puts "ERROR: file not found at #{full_path}".color(:red)
exit 1
end
end
eval(code) # inline script