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
v0.1.1 also exhibits this behavior. I agree that this should notify the user, but there may be use cases where not finding a file is the behavior the user would want. I suggest that it should warn the user that a file (or files) weren't found for inclusion, instead of erroring.
The other issue I see is that it's putting {} in its place (indicating an empty map). Should this be an empty string (assuming it won't error and only warn)?
Version: v0.0.65
Steps to reproduce:
yamlinc main.yml && cat main.inc.yml
Output:
Expected result:
Yamlinc must exit with status 1 and print error message: "Included file included_file_that_does_not_exists.yml was't found"
The text was updated successfully, but these errors were encountered: