lib/gonative/utils/ui.rb in gonative-cli-1.2.1 vs lib/gonative/utils/ui.rb in gonative-cli-1.2.2
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
# frozen_string_literal: true\
require 'colorize'
module GoNative
@@ -10,9 +12,13 @@
puts msg.colorize(:green)
end
def output(msg)
puts msg
+ end
+
+ def error(msg)
+ puts msg.colorize(:red)
end
end
end
end
end