pinkie
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -200,3 +200,3 @@ 'use strict'; | ||
if (onRejection && !this._handled) { | ||
if ((onRejection || onFulfillment) && !this._handled) { | ||
this._handled = true; | ||
@@ -203,0 +203,0 @@ if (this._state === REJECTED && isNode) { |
{ | ||
"name": "pinkie", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation", | ||
@@ -29,2 +29,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"core-assert": "^0.1.1", | ||
"coveralls": "^2.11.4", | ||
@@ -31,0 +32,0 @@ "mocha": "*", |
10451
6