cookstyle
cookstyle copied to clipboard
Alert on more uses of mixlib::shellout
Version:
7.24.1
Environment:
N/A
Steps to Reproduce:
cmd = Mixlib::ShellOut.new("#{nginx_binary} -t -c #{new_resource.config_file}")
cmd.run_command.error!
Expected Result:
shell_out!("#{nginx_binary} -t -c #{new_resource.config_file}")
Actual Result:
Norhinf