Skip to content

Commit

Permalink
Rubocop autocorrected: Style/LineEndConcatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Jun 5, 2015
1 parent 5b499ff commit 8c6e3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .rubocop.yml
Expand Up @@ -137,11 +137,6 @@ Style/GuardClause:
Style/IfUnlessModifier:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Enabled: false

# Offense count: 4
# Cop supports --auto-correct.
Style/MethodCallParentheses:
Expand Down
4 changes: 2 additions & 2 deletions src/ruby/yast/wfm.rb
Expand Up @@ -204,8 +204,8 @@ def self.run_client client
e.backtrace
)
Yast.import "Report"
Report.Error "Internal error. Please report a bug report with logs.\n" +
"Details: #{e.message}\n" +
Report.Error "Internal error. Please report a bug report with logs.\n" \
"Details: #{e.message}\n" \
"Caller: #{e.backtrace.first}"
rescue Exception => e
Builtins.y2internal("Error reporting failed with '%1' and backtrace %2",
Expand Down

0 comments on commit 8c6e3fd

Please sign in to comment.