Skip to content

Commit 0d1f555

Browse files
author
Jan Klimke
committed
removed invalid .then call using lib.promiseError which does not exist anymore since 2016
1 parent e27ca3c commit 0d1f555

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ lib.syncOrAsync = function(sequence, arg, finalStep) {
455455
ret = fni(arg);
456456

457457
if(ret && ret.then) {
458-
return ret.then(continueAsync)
459-
.then(undefined, lib.promiseError);
458+
return ret.then(continueAsync);
460459
}
461460
}
462461

0 commit comments

Comments
 (0)