async-retry-ng
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,2 @@ | ||
const retrier = require("./retry"); | ||
const retrier = require('./retry'); | ||
@@ -20,7 +20,7 @@ function retry(fn, opts) { | ||
function bail(err) { | ||
reject(err || new Error("Aborted")); | ||
reject(err || new Error('Aborted')); | ||
} | ||
function onError(err, num) { | ||
if (err.bail) { | ||
if (err === Object(err) && err.bail) { | ||
bail(err); | ||
@@ -27,0 +27,0 @@ return; |
{ | ||
"name": "async-retry-ng", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Retrying made simple, easy and async", | ||
@@ -5,0 +5,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
13430