aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-23 14:57:51 +0200
committerMarkus Reiter2017-05-23 14:57:51 +0200
commitcc295601c708c2f19a7742267f8abc2daf553348 (patch)
treef21aa36d2f9c7e06996312686837c3eccdcfe1b7 /Library
parentd1f599f1ed51976fc76ad19803de04864d12ef2b (diff)
downloadbrew-cc295601c708c2f19a7742267f8abc2daf553348.tar.bz2
Fix undefined `cask_tokens` method.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
index 6b83b2446..da0223b14 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
@@ -9,10 +9,10 @@ module Hbc
end
def run
- if cask_tokens.all? { |t| t =~ %r{^https?://} && t !~ /\.rb$/ }
- self.class.appcask_checkpoint_for_url(cask_tokens)
+ if args.all? { |t| t =~ %r{^https?://} && t !~ /\.rb$/ }
+ self.class.appcask_checkpoint_for_url(args)
else
- self.class.appcask_checkpoint(cask_tokens, calculate?)
+ self.class.appcask_checkpoint(args, calculate?)
end
end