WhyRunSupportedTrue
The department is: WhyRunSupportedTrue
The full name of the cop is: Chef/Modernize/WhyRunSupportedTrue
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | 13.0+ |
whyrun_supported? no longer needs to be set to true as that is the default in Chef Infra Client 13+
Examples
incorrect
def whyrun_supported?
true
end
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.1.0 | String |
Include |
| Array |