Skip to content

Commit

Permalink
[ci] Remove exclusion files for Layout/AlignArray
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kang committed Dec 11, 2017
1 parent 124683e commit e848563
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 154 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 19
# Cop supports --auto-correct.
Layout/AlignArray:
Exclude:
- 'src/api/lib/activexml/transport.rb'
- 'src/api/lib/xpath_engine.rb'
- 'src/api/test/functional/source_controller_test.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, SupportedHashRocketStyles, EnforcedColonStyle, SupportedColonStyles, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
Expand Down
2 changes: 1 addition & 1 deletion src/api/lib/activexml/transport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def load_external_url(uri)
content = response.body
end
rescue SocketError, Errno::EINTR, Errno::EPIPE, EOFError, Net::HTTPBadResponse, IOError, Errno::ENETUNREACH,
Errno::ETIMEDOUT, Errno::ECONNREFUSED, Timeout::Error => err
Errno::ETIMEDOUT, Errno::ECONNREFUSED, Timeout::Error => err
logger.debug "#{err} when fetching #{uri}"
http = nil
end
Expand Down
Loading

0 comments on commit e848563

Please sign in to comment.