Closed ange007 closed 8 years ago
I like this idea, I've run into use cases for this myself. However I think the param should be more basic.
I might just go with includeErrors: false
.
Here I likely not the adviser. I don't know as it will be better.
Added hardFail
as a param now which toggles the error throwing.
Errors are soft by default now, so if you need errors to be thrown, add the hardFail: true
param.
Ignoring of check of existence of the including file. It happens it is useful for "combined" modules. Which gather from different sets of files. Though it is possible and it isn't absolutely correct.