Comparing version 5.0.0 to 5.1.0
@@ -411,3 +411,3 @@ 'use strict'; | ||
let thrown; | ||
let thrown = null; | ||
try { | ||
@@ -435,3 +435,4 @@ await this._ref; | ||
return this.assert(thrown, 'reject with an error'); | ||
this.assert(thrown, 'reject with an error'); | ||
return thrown; | ||
} | ||
@@ -438,0 +439,0 @@ catch (err) { |
{ | ||
"name": "code", | ||
"description": "assertion library", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"repository": "git://github.com/hapijs/code", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18841
338