aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli/create.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-23 16:19:20 +0200
committerGitHub2016-10-23 16:19:20 +0200
commit19347f3b87917368d7157fe5007d506a4db0c7db (patch)
tree4a32d9a51582ab6e9f9d3c02439de2e1373231bd /Library/Homebrew/cask/lib/hbc/cli/create.rb
parentf56e410ebfa82ced3ae480659ce217ad8fe456ef (diff)
parent8d15bddedb2f5796193f79a9a97cd6271367e251 (diff)
downloadbrew-19347f3b87917368d7157fe5007d506a4db0c7db.tar.bz2
Merge pull request #1266 from reitermarkus/rubocop
Remove Cask’s RuboCop configuration.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/create.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/create.rb b/Library/Homebrew/cask/lib/hbc/cli/create.rb
index 84537cdc1..3e2b9c191 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/create.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/create.rb
@@ -4,7 +4,7 @@ module Hbc
def self.run(*args)
cask_tokens = cask_tokens_from(args)
raise CaskUnspecifiedError if cask_tokens.empty?
- cask_token = cask_tokens.first.sub(%r{\.rb$}i, "")
+ cask_token = cask_tokens.first.sub(/\.rb$/i, "")
cask_path = Hbc.path(cask_token)
odebug "Creating Cask #{cask_token}"