Merge pull request #1051 from strongloop/fix/promise-error-message
Fix error message for missing global.Promise
This commit is contained in:
commit
6d4e0513a7
|
@ -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