Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
[RuboCop] Enable Style/EmptyElse
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Nov 26, 2015
1 parent 69832ac commit 831457d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ Style/ClassAndModuleChildren:
Style/Documentation:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyElse:
Exclude:
- 'lib/bundler/fetcher.rb'
- 'lib/bundler/ruby_version.rb'

# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Expand Down
2 changes: 0 additions & 2 deletions lib/bundler/fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ def fetchers
def http_proxy
if uri = connection.proxy_uri
uri.to_s
else
nil
end
end

Expand Down
2 changes: 0 additions & 2 deletions lib/bundler/ruby_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def diff(other)
[:engine_version, engine_version, other.engine_version]
elsif patchlevel != other.patchlevel && @patchlevel
[:patchlevel, patchlevel, other.patchlevel]
else
nil
end
end

Expand Down

0 comments on commit 831457d

Please sign in to comment.