keep the expected hash in scrub.json if the scrub fails
This commit is contained in:
parent
acd00e4bd5
commit
129c7fabb4
1 changed files with 2 additions and 0 deletions
2
scrub
2
scrub
|
|
@ -64,6 +64,8 @@ class Scrubber
|
||||||
new_hashes[basename] = hash
|
new_hashes[basename] = hash
|
||||||
puts "[new] #{hash} - #{relative_filename}" if options.verbose
|
puts "[new] #{hash} - #{relative_filename}" if options.verbose
|
||||||
when :fail
|
when :fail
|
||||||
|
# no change in scrub.json, just report the new sha
|
||||||
|
new_hashes[basename] = expected_hash
|
||||||
@failures << {
|
@failures << {
|
||||||
:filename => relative_filename,
|
:filename => relative_filename,
|
||||||
:hash => hash,
|
:hash => hash,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue