mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
Fix Layout/LineEndStringConcatenationIndentation offenses
This commit is contained in:
parent
4812422742
commit
0f0efc0151
2 changed files with 9 additions and 4 deletions
|
@ -4,6 +4,7 @@ lib = File.expand_path('lib', __dir__)
|
|||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
require 'colorls/version'
|
||||
|
||||
# rubocop:disable Layout/LineEndStringConcatenationIndentation
|
||||
POST_INSTALL_MESSAGE = %(
|
||||
*******************************************************************
|
||||
Changes introduced in colorls
|
||||
|
@ -24,6 +25,7 @@ POST_INSTALL_MESSAGE = %(
|
|||
|
||||
*******************************************************************
|
||||
)
|
||||
# rubocop:enable Layout/LineEndStringConcatenationIndentation
|
||||
|
||||
# rubocop:disable Metrics/BlockLength
|
||||
Gem::Specification.new do |spec|
|
||||
|
|
|
@ -75,11 +75,14 @@ module ColorLS
|
|||
end
|
||||
|
||||
def display_report
|
||||
print "\n Found #{@count.values.sum} items in total.".colorize(@colors[:report])
|
||||
puts <<~REPORT
|
||||
|
||||
puts "\n\n\tFolders\t\t\t: #{@count[:folders]}"\
|
||||
"\n\tRecognized files\t: #{@count[:recognized_files]}"\
|
||||
"\n\tUnrecognized files\t: #{@count[:unrecognized_files]}"
|
||||
Found #{@count.values.sum} items in total.
|
||||
|
||||
\tFolders\t\t\t: #{@count[:folders]}
|
||||
\tRecognized files\t: #{@count[:recognized_files]}
|
||||
\tUnrecognized files\t: #{@count[:unrecognized_files]}
|
||||
REPORT
|
||||
.colorize(@colors[:report])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue