Skip to content

Commit

Permalink
parens to fix syntastic warning
Browse files Browse the repository at this point in the history
  • Loading branch information
phinze committed Apr 4, 2013
1 parent b156c04 commit bdd6ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cask/scopes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def all_titles
cask_titles = Dir[tapspath.join("*", "Casks", "*.rb")]
cask_titles.map { |c|
# => "/usr/local/Library/Taps/example-tap/Casks/example.rb"
c.sub! /\.rb$/, ''
c.sub!(/\.rb$/, '')
# => ".../example"
c = c.split("/").last 3
# => ["example-tap", "Casks", "example"]
Expand Down

0 comments on commit bdd6ead

Please sign in to comment.