Skip to content

Commit

Permalink
Update: Use null instead of undefined for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 25, 2016
1 parent 4d1206e commit 30f3c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function settle(fn, done){
settled.value = result;
}

done(undefined, settled);
done(null, settled);
});
}

Expand Down

0 comments on commit 30f3c76

Please # to comment.