lib/bundler/ui/shell.rb in bundler-1.11.2 vs lib/bundler/ui/shell.rb in bundler-1.12.0.pre.1
- old
+ new
@@ -1,10 +1,11 @@
+# frozen_string_literal: true
require "bundler/vendored_thor"
module Bundler
module UI
class Shell
- LEVELS = %w(silent error warn confirm info debug)
+ LEVELS = %w(silent error warn confirm info debug).freeze
attr_writer :shell
def initialize(options = {})
if options["no-color"] || !STDOUT.tty?