Skip to content

Commit 80a089f

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct Style/RedundantStringEscape
1 parent 973e15b commit 80a089f

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@ Style/OptionalBooleanParameter:
168168
- 'lib/puppet/functions/postgresql/postgresql_password.rb'
169169
- 'lib/puppet/type/postgresql_psql.rb'
170170

171-
172-
# Offense count: 2
173-
# This cop supports safe autocorrection (--autocorrect).
174-
Style/RedundantStringEscape:
175-
Exclude:
176-
- 'spec/acceptance/db_spec.rb'
177-
178171
# Offense count: 1
179172
# This cop supports safe autocorrection (--autocorrect).
180173
# Configuration parameters: EnforcedStyle.

spec/acceptance/db_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class { 'postgresql::server':
2323
idempotent_apply(pp)
2424

2525
# Verify that the postgres password works
26-
run_shell("echo 'localhost:*:*:postgres:\'space password\'' > /root/.pgpass")
26+
run_shell("echo 'localhost:*:*:postgres:'space password'' > /root/.pgpass")
2727
run_shell('chmod 600 /root/.pgpass')
2828
run_shell("psql -U postgres -h localhost --command='\\l'")
2929

0 commit comments

Comments
 (0)