Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Fix FC033 false positives #425

Closed
wants to merge 4 commits into from
Closed

Fix FC033 false positives #425

wants to merge 4 commits into from

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Feb 22, 2016

To be honest I'm not entirely sure what was going on here before, but it
certainly seemed complex for what we're trying to do. All we need to do
is see if anything in the templates match the sources defined template
file. We have a method for grabbing all the templates and it does the
right thing out of the box returning templates that are in the root of
the templates dir (vs. in default or what not). I tested this against
the working cookbook and then put in a bogus template source and it
triggered there as expected.

@tas50 tas50 changed the title Potentially fix FC033 false positives Fix FC033 false positives Jul 2, 2016
@tas50 tas50 mentioned this pull request Jul 5, 2016
tas50 and others added 4 commits September 12, 2016 16:14
To be honest I'm not entirely sure what was going on here before, but it
certainly seemed complex for what we're trying to do.  All we need to do
is see if anything in the templates match the sources defined template
file. We have a method for grabbing all the templates and it does the
right thing out of the box returning templates that are in the root of
the templates dir (vs. in default or what not).  I tested this against
the working cookbook and then put in a bogus template source and it
triggered there as expected.
Signed-off-by: Tim Smith <[email protected]>
@docwhat
Copy link
Contributor

docwhat commented Jan 24, 2017

Do you want any help on this PR?

@tas50
Copy link
Contributor Author

tas50 commented Jan 25, 2017

@docwhat This just needs proper tests written and it can be merged.

@tas50
Copy link
Contributor Author

tas50 commented Jan 25, 2017

Going with #485 instead since it has the tests

@tas50 tas50 closed this Jan 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants