NIHVIVO-55 Cosmetic changes.
This commit is contained in:
parent
b6475f23a3
commit
f6134bfaf8
1 changed files with 3 additions and 2 deletions
|
@ -88,7 +88,7 @@ class LicenserStats
|
||||||
@known_exceptions[which_match(filename)] += 1
|
@known_exceptions[which_match(filename)] += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
def record_tag(filename)
|
def record_tag(filename)
|
||||||
puts " Substituted license text into #{filename}" if @full
|
puts " Substituted license text into #{filename}" if @full
|
||||||
@substitutions[which_match(filename)] += 1
|
@substitutions[which_match(filename)] += 1
|
||||||
end
|
end
|
||||||
|
@ -356,8 +356,9 @@ class Licenser
|
||||||
|
|
||||||
# Report the summary statistics
|
# Report the summary statistics
|
||||||
def report()
|
def report()
|
||||||
|
verb = @scan_only ? "scanned" : "copied"
|
||||||
puts "Licenser: run completed at #{DateTime.now.strftime("%H:%M:%S on %b %d, %Y")}"
|
puts "Licenser: run completed at #{DateTime.now.strftime("%H:%M:%S on %b %d, %Y")}"
|
||||||
puts " copied #{@stats.file_count} files in #{@stats.dir_count} directories."
|
puts " #{verb} #{@stats.file_count} files in #{@stats.dir_count} directories."
|
||||||
puts
|
puts
|
||||||
puts 'Substitutions'
|
puts 'Substitutions'
|
||||||
@stats.substitutions.sort.each do |line|
|
@stats.substitutions.sort.each do |line|
|
||||||
|
|
Loading…
Add table
Reference in a new issue