-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fixed #1314: yielding a function should not call the function When rejecting a non-promise value, string.replace is used, and the value is passed as second parameter. But string.replace, if the second value is a function, will call that function. This commit fixes this by using value.toString(). * changed how value is converted to string in error about yielding non-promises
- Loading branch information
1 parent
f1409ba
commit 0566325
Showing
2 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters