cookstyle icon indicating copy to clipboard operation
cookstyle copied to clipboard

Alert on more uses of mixlib::shellout

Open tas50 opened this issue 3 years ago • 0 comments

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

tas50 avatar Sep 04 '21 01:09 tas50