File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,6 @@ RSpec/StubbedMock:
156
156
Exclude :
157
157
- ' spec/unit/lib/facter/docker_spec.rb'
158
158
159
- # Offense count: 3
160
- # This cop supports safe autocorrection (--autocorrect).
161
- Style/RedundantStringEscape :
162
- Exclude :
163
- - ' spec/shared_examples/registry.rb'
164
- - ' spec/shared_examples/run.rb'
165
-
166
159
# Offense count: 1
167
160
# This cop supports safe autocorrection (--autocorrect).
168
161
# Configuration parameters: EnforcedStyle.
Original file line number Diff line number Diff line change 25
25
exec_path = [ '/bin' , '/usr/bin' ]
26
26
exec_timeout = 0
27
27
exec_provider = nil
28
- password_env = " \ $ {password}"
28
+ password_env = ' ${password}'
29
29
exec_user = local_user
30
30
local_user_home = facts [ :docker_home_dirs ] [ local_user ]
31
31
end
Original file line number Diff line number Diff line change 124
124
exec_provider = 'powershell'
125
125
cidfile = "#{ facts [ 'docker_user_temp_path' ] } /#{ service_prefix } #{ sanitised_title } .cid"
126
126
restart_check = "#{ docker_command } inspect #{ sanitised_title } -f '{{ if eq \\ \" unhealthy\\ \" .State.Health.Status }} {{ .Name }}{{ end }}' | findstr #{ sanitised_title } "
127
- container_running_check = "\ $ state = #{ docker_command } inspect #{ sanitised_title } -f \" {{ .State.Running }}\" ; if (\ $ state -ieq \" true\" ) { Exit 0 } else { Exit 1 }"
127
+ container_running_check = "$state = #{ docker_command } inspect #{ sanitised_title } -f \" {{ .State.Running }}\" ; if ($state -ieq \" true\" ) { Exit 0 } else { Exit 1 }"
128
128
else
129
129
exec_environment = 'HOME=/root'
130
130
exec_path = [ '/bin' , '/usr/bin' ]
You can’t perform that action at this time.
0 commit comments