When executing a variable substitution via CopyDir, an error should be thrown if a variable is not supplied but exists in the templates.
Doing this validation at a lower level in the os package allows us to gain this protection across all the commands
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).
[X] Added new unit tests to confirm unsubstituted variable detection is working
[X] updated existing tests to make sure we don't have missing variables in them as well
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
When executing a variable substitution via CopyDir, an error should be thrown if a variable is not supplied but exists in the templates.
Doing this validation at a lower level in the os package allows us to gain this protection across all the commands
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).
Checklist: