Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hapijs/code
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Feb 9, 2018
2 parents 506b432 + 7417485 commit 40e5271
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 360 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Expand Up @@ -392,6 +392,7 @@ internals.throw = function (/* type, message */) {
}

this.assert(thrown, 'throw an error', err);
return err;
}

return this.assert(thrown, 'throw an error');
Expand Down

0 comments on commit 40e5271

Please sign in to comment.