lib/bolt/cli.rb
# Mimicks the output from Outputter::Human#fatal_error. This should be used to print
# errors prior to config being loaded, as the outputter relies on config being loaded.
Mimicks the output from Outputter::Human#fatal_error. This should be used to print
errors prior to config being loaded, as the outputter relies on config being loaded.
Mimicks the output from Outputter :: Human#fatal_error . This should be used to print errors prior to config being loaded as the outputter relies on config being loaded .
def fatal_error(error)
      if $stdout.isatty
        $stdout.puts("\033[31m#{error.message}\033[0m")
      else
        $stdout.puts(error.message)
      end
    end
def fatal_error ( error ) if $stdout . isatty $stdout . puts ( "\033[31m#{error.message}\033[0m" ) else $stdout . puts ( error . message ) end end
Mimicks the output from Outputter::Human#fatal_error.
Mimicks the output from Outputter :: Human#fatal_error .
error
<not_specific>