You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
create in your cookbook folder templates/default/something/template/something.txt and then try to use it with "template" resource:
template 'something.txt' do
source 'something/template/something.txt'
end
it will trigger FC033, but when you will change templates/default/something/template directory name to let's say templates/default/something/notatemplate and also change it in the resource:
template 'something.txt' do
source 'something/notatemplate/something.txt'
end
then the error disappear.
The text was updated successfully, but these errors were encountered:
grdz
changed the title
FC033 false positive when there is a "template" word in the source path
FC033 false positive when there is a "template" word in the template source path
Jul 16, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How to reproduce:
create in your cookbook folder
templates/default/something/template/something.txt
and then try to use it with "template" resource:it will trigger FC033, but when you will change
templates/default/something/template
directory name to let's saytemplates/default/something/notatemplate
and also change it in the resource:then the error disappear.
The text was updated successfully, but these errors were encountered: