diff options
| author | Markus Reiter | 2016-10-23 16:19:20 +0200 |
|---|---|---|
| committer | GitHub | 2016-10-23 16:19:20 +0200 |
| commit | 19347f3b87917368d7157fe5007d506a4db0c7db (patch) | |
| tree | 4a32d9a51582ab6e9f9d3c02439de2e1373231bd /Library/Homebrew/cask/lib/hbc/cli/create.rb | |
| parent | f56e410ebfa82ced3ae480659ce217ad8fe456ef (diff) | |
| parent | 8d15bddedb2f5796193f79a9a97cd6271367e251 (diff) | |
| download | brew-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.rb | 2 |
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}" |
