Skip to content

Commit

Permalink
Fix the problem that some errors are not caught
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnaydd committed Nov 15, 2019
1 parent b87c1ac commit d8d41ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module.exports = function(options) {

const template = twig({
...twigParameters,
rethrow: true,
async: false,
path: file.path,
data: useFileContents ? file.contents.toString() : undefined,
Expand Down

0 comments on commit d8d41ab

Please sign in to comment.