diff --git a/Library/Homebrew/cask/lib/hbc/artifact/moved.rb b/Library/Homebrew/cask/lib/hbc/artifact/moved.rb index 31cede71a9..f3d29e06d7 100644 --- a/Library/Homebrew/cask/lib/hbc/artifact/moved.rb +++ b/Library/Homebrew/cask/lib/hbc/artifact/moved.rb @@ -58,7 +58,7 @@ module Hbc end unless target.exist? - return if skip + return if skip || force raise CaskError, "It seems the #{self.class.english_name} source '#{target}' is not there." end