mozilla / nunjucks
Showing 1 of 4 files from the diff.

@@ -476,14 +476,15 @@
Loading
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 89.61%
Project Totals (22 files) 89.61%
x87568cmsffi9nlt
00cv9yfpdkt3y7ks
qmbj5973wvm3iy96
g5gd6u23meebr00a
lf5305vff70nxkgk
vtkf2mr5win19937
smgs9vbw2f5kckp8
6esebojqbbs3813p
3br7qomie71u8vkf
gbxxs47iilvs0xkg
hniv0uth72q75hnb
gquyynpao0yqkna2
ynkxtjo6a540764q
98yqaocrax6wlwgr
447iotf3o48ogpvb
yl99orre373y45ni
oc7qc2esnh3thy3y
vrch2wt3pd15y4rr
1
comment:
2
  require_changes: yes
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading