No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
63c4baf
... +0 ...
bbcbaf3
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
476 | 476 | let didError = false; |
|
477 | 477 | ||
478 | 478 | this.rootRenderFunc(this.env, context, frame, globalRuntime, (err, res) => { |
|
479 | - | if (didError) { |
|
479 | + | // TODO: this is actually a bug in the compiled template (because waterfall |
|
480 | + | // tasks are both not passing errors up the chain of callbacks AND are not |
|
481 | + | // causing a return from the top-most render function). But fixing that |
|
482 | + | // will require a more substantial change to the compiler. |
|
483 | + | if (didError && cb && typeof res !== 'undefined') { |
|
480 | 484 | // prevent multiple calls to cb |
|
481 | - | if (cb) { |
|
482 | - | return; |
|
483 | - | } else { |
|
484 | - | throw err; |
|
485 | - | } |
|
485 | + | return; |
|
486 | 486 | } |
|
487 | + | ||
487 | 488 | if (err) { |
|
488 | 489 | err = lib._prettifyError(this.path, this.env.opts.dev, err); |
|
489 | 490 | didError = true; |
Files | Coverage |
---|---|
nunjucks | -0.01% 89.61% |
Project Totals (22 files) | 89.61% |
bbcbaf3
63c4baf