Skip to content

Commit

Permalink
rubocop: enable Style/StringLiteralsInInterpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 28, 2023
1 parent 45594d8 commit 7ba1d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .rubocop.yml
Expand Up @@ -168,14 +168,6 @@ Style/RescueModifier:
Exclude:
- 'src/modules/Security.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
Exclude:
- 'src/modules/Security.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
Expand Down
4 changes: 2 additions & 2 deletions src/modules/Security.rb
Expand Up @@ -422,7 +422,7 @@ def read_permissions
@Settings["PERMISSION_SECURITY"] = "secure" if @Settings["PERMISSION_SECURITY"].empty?

log.debug "PERMISSION_SECURITY (after #{__callee__}): " \
"#{@Settings['PERMISSION_SECURITY']}"
"#{@Settings["PERMISSION_SECURITY"]}"

@Settings["PERMISSION_SECURITY"]
end
Expand All @@ -441,7 +441,7 @@ def read_polkit_settings
"active_console"
end
log.debug "HIBERNATE_SYSTEM (after #{__callee__}): " \
"#{@Settings['HIBERNATE_SYSTEM']}"
"#{@Settings["HIBERNATE_SYSTEM"]}"
end

# The name of the PAM module to deal with password quality. Either
Expand Down

0 comments on commit 7ba1d10

Please sign in to comment.