mozilla / nunjucks

Compare 63c4baf ... +0 ... bbcbaf3

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

Learn more about Codecov Flags here.

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;

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
nunjucks -0.01% 89.61%
Project Totals (22 files) 89.61%
Loading