Skip to content

Commit

Permalink
Warn yellow
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jul 3, 2018
1 parent ea1e31d commit 3e5669e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/language_pack/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def default_process_types
def compile
write_release_yaml
instrument 'base.compile' do
Kernel.puts ""
Kernel.puts "\e[1m\e[33m" # Bold yellow
warnings.each do |warning|
Kernel.puts "###### WARNING:\n"
puts warning
Expand All @@ -91,6 +91,7 @@ def compile
topic "DEPRECATIONS:"
puts @deprecations.join("\n")
end
Kernel.puts "\e[0m"
end
mcount "success"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/language_pack/shell_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def self.initialize_env(path)
# Should only be used once in the top level script
# for example $ bin/support/ruby_compile
def self.display_error_and_exit(e)
Kernel.puts "\e[1m\e[31m"
Kernel.puts "\e[1m\e[31m" # Bold Red
Kernel.puts " !"
e.message.split("\n").each do |line|
Kernel.puts " ! #{line.strip}"
Expand Down

0 comments on commit 3e5669e

Please sign in to comment.