Merge pull request #8243 from claui/fix-reinstall-restore-backup

Fix “wrong number of arguments” error
This commit is contained in:
Mike McQuaid 2020-08-07 09:47:25 +01:00 committed by GitHub
commit 21ef9d942c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ module Homebrew
end
end
def restore_backup(keg, keg_was_linked)
def restore_backup(keg, keg_was_linked, verbose:)
path = backup_path(keg)
return unless path.directory?