We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90038fc commit 68361feCopy full SHA for 68361fe
lib/temputils.js
@@ -29,7 +29,7 @@ function maybePromised (context, action, params) {
29
params[params.length++] = r;
30
31
if (typeof action === 'function') action = action.apply(context, params);
32
- else action = Promise.resolve();
+ if (action === null) action = Promise.resolve();
33
34
if (isPromise(action)) {
35
action
0 commit comments