chef-workstation icon indicating copy to clipboard operation
chef-workstation copied to clipboard

shell_out isn't recognised as a valid command

Open vkarve-chef opened this issue 3 years ago • 1 comments

Description

Chef InSpec is fails to recognise shell_out from Mixlib::ShellOut as a valid command. Originally Mixlib::ShellOut.new(cmd).run_command is present, this is auto-corrected by cookstyle to shell_out(cmd)

https://github.com/chef/customer-bugs/issues/300

Chef Workstation Version

To be added

Platform Version

To be added

vkarve-chef avatar Jun 21 '21 06:06 vkarve-chef

possibly related https://stackoverflow.com/questions/60047110/chef-library-testing-with-shell-out

vkarve-chef avatar Jun 21 '21 06:06 vkarve-chef