Skip to content

Commit 53b481f

Browse files
committed
Make lintastic
1 parent 6b0ad4e commit 53b481f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cookbooks/boxcutter_onepassword/libraries/onepassword.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def self.token_from_env_or_file(environment_variable_name, file_path)
280280
def self.run_shellout(command, env:, type:, event:, extra: {}, log_stdout: false)
281281
Chef::Log.debug(
282282
"boxcutter_onepassword[#{event}]: start type=#{type.inspect} " \
283-
"command=#{command.inspect} env_keys=#{(env || {}).keys.sort.inspect} extra=#{extra.inspect}"
283+
"command=#{command.inspect} env_keys=#{(env || {}).keys.sort.inspect} extra=#{extra.inspect}",
284284
)
285285

286286
shellout = Mixlib::ShellOut.new(command, :env => env)
@@ -289,8 +289,8 @@ def self.run_shellout(command, env:, type:, event:, extra: {}, log_stdout: false
289289
if shellout.error?
290290
Chef::Log.error(
291291
"boxcutter_onepassword[#{event}]: failed type=#{type.inspect} exitstatus=#{shellout.exitstatus} " \
292-
"command=#{command.inspect} env_keys=#{(env || {}).keys.sort.inspect} extra=#{extra.inspect} " \
293-
"stdout=#{truncate(shellout.stdout)} stderr=#{truncate(shellout.stderr)}"
292+
"command=#{command.inspect} env_keys=#{(env || {}).keys.sort.inspect} extra=#{extra.inspect} " \
293+
"stdout=#{truncate(shellout.stdout)} stderr=#{truncate(shellout.stderr)}",
294294
)
295295
shellout.error!
296296
end
@@ -299,7 +299,7 @@ def self.run_shellout(command, env:, type:, event:, extra: {}, log_stdout: false
299299

300300
Chef::Log.info(
301301
"boxcutter_onepassword[#{event}]: ok type=#{type.inspect} " \
302-
"exitstatus=#{shellout.exitstatus} extra=#{extra.inspect}"
302+
"exitstatus=#{shellout.exitstatus} extra=#{extra.inspect}",
303303
)
304304
shellout
305305
end

0 commit comments

Comments
 (0)