Skip to content

Commit

Permalink
rubocop: enable Style/LineEndConcatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 28, 2023
1 parent 11bba0c commit 742db74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .rubocop.yml
Expand Up @@ -4,7 +4,7 @@ inherit_from:

# Offense count: 20
Metrics/AbcSize:
Max: 126
Max: 127

# Offense count: 19
# Configuration parameters: CountComments, ExcludedMethods.
Expand Down Expand Up @@ -133,12 +133,6 @@ Style/GuardClause:
- 'src/include/security/users.rb'
- 'src/modules/Security.rb'

# Offense count: 4
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Exclude:
- 'src/include/security/dialogs.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/MultilineIfModifier:
Expand Down
10 changes: 5 additions & 5 deletions src/include/security/dialogs.rb
Expand Up @@ -167,11 +167,11 @@ def OverviewText(type)
if type == :richtext
# open a table
ret = Builtins.sformat(
"<TABLE><TR> <TD><BIG><B>%1</B></BIG></TD>\n" +
"<TD ALIGN=center><BIG><B>&nbsp;&nbsp;&nbsp;&nbsp;%2&nbsp;&nbsp;&nbsp;&nbsp;</B></BIG></TD>\n" +
"<TD ALIGN=center><BIG><B>&nbsp;&nbsp;&nbsp;&nbsp;%3&nbsp;&nbsp;&nbsp;&nbsp;</B></BIG></TD>\n" +
"<TD></TD>\n" +
"</TR> <TR></TR>",
"<TABLE><TR> <TD><BIG><B>%1</B></BIG></TD>\n" \
"<TD ALIGN=center><BIG><B>&nbsp;&nbsp;&nbsp;&nbsp;%2&nbsp;&nbsp;&nbsp;&nbsp;</B></BIG></TD>\n" \
"<TD ALIGN=center><BIG><B>&nbsp;&nbsp;&nbsp;&nbsp;%3&nbsp;&nbsp;&nbsp;&nbsp;</B></BIG></TD>\n" \
"<TD></TD>\n" \
"</TR> <TR></TR>",
# table header
_("Security Setting"),
_("Status"),
Expand Down

0 comments on commit 742db74

Please sign in to comment.