immediate-error 11.1.2 → 11.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -265,7 +265,7 @@ exports.throwWhatever = function throwWhatever(whateverToThrow) {
265
265
  if (whateverToThrow) {
266
266
  bail(whateverToThrow)
267
267
  } else {
268
- throw whateverToThrow // throw
268
+ just.throw(whateverToThrow) // throw
269
269
  }
270
270
  }
271
271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "immediate-error",
3
- "version": "11.1.2",
3
+ "version": "11.1.3",
4
4
  "description": "enterprise errors",
5
5
  "main": "index.js",
6
6
  "scripts": {