Skip to content

Commit

Permalink
- enable Style/Semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Nov 6, 2018
1 parent 1eccf6d commit 41fdffd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .rubocop.yml
Expand Up @@ -418,13 +418,6 @@ Style/RedundantReturn:
Exclude:
- 'src/modules/IscsiClientLib.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Exclude:
- 'src/modules/IscsiClientLib.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/IscsiClientLib.rb
Expand Up @@ -843,7 +843,7 @@ def setValue(name, value)
rec = @currentRecord
Builtins.y2milestone("set %1 for record %2", name, rec)

log = !name.include?("password");
log = !name.include?("password")
cmd = "-m node -I #{rec[2] || "default"} -T #{rec[1] || ""} -p #{rec[0] || ""} --op=update --name=#{name}"

command = GetAdmCmd("#{cmd} --value=#{value}", log)
Expand Down

0 comments on commit 41fdffd

Please sign in to comment.