effortless icon indicating copy to clipboard operation
effortless copied to clipboard

[scaffolding-chef-inspec] Install action overwrites user default.toml

Open danielcbright opened this issue 6 years ago • 0 comments

Problem Statement

There appears to be a bug in which if a user creates a default.toml and adds it to the /src directory when packaging Effortless Audit, upon installation of the package the default.toml is overwritten with a canned version.

This is the code that seems to be the offender here:

https://github.com/chef/effortless/blob/master/scaffolding-chef-inspec/lib/scaffolding.ps1#L172

I haven't verified in Linux if it's the same, but I have tested in Windows 2k12r2/2k16.

danielcbright avatar Sep 09 '19 14:09 danielcbright