Fix misspelled constant in msftidy
This commit is contained in:
parent
62a4991508
commit
7f2b173130
|
@ -11,7 +11,7 @@ require 'find'
|
|||
require 'time'
|
||||
|
||||
CHECK_OLD_RUBIES = !!ENV['MSF_CHECK_OLD_RUBIES']
|
||||
SUPRESS_INFO_MESSAGES = !!ENV['MSF_SUPPRESS_INFO_MESSAGES']
|
||||
SUPPRESS_INFO_MESSAGES = !!ENV['MSF_SUPPRESS_INFO_MESSAGES']
|
||||
|
||||
if CHECK_OLD_RUBIES
|
||||
require 'rvm'
|
||||
|
@ -92,7 +92,7 @@ class Msftidy
|
|||
# Display an info message. Info messages do not alter the exit status.
|
||||
#
|
||||
def info(txt, line=0)
|
||||
return if SUPRESS_INFO_MESSAGES
|
||||
return if SUPPRESS_INFO_MESSAGES
|
||||
line_msg = (line>0) ? ":#{line}" : ''
|
||||
puts "#{@full_filepath}#{line_msg} - [#{'INFO'.cyan}] #{cleanup_text(txt)}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue