Fix error message for missing global.Promise
This commit is contained in:
parent
df4a3643eb
commit
f7cfe25b60
|
@ -500,7 +500,7 @@ function createPromiseCallback() {
|
||||||
|
|
||||||
function throwPromiseNotDefined() {
|
function throwPromiseNotDefined() {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'Your Node runtime does support ES6 Promises. ' +
|
'Your Node runtime does not support ES6 Promises. ' +
|
||||||
'Set "global.Promise" to your preferred implementation of promises.');
|
'Set "global.Promise" to your preferred implementation of promises.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue