File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function createConnection (opts) {
6
6
if ( ! Promise ) {
7
7
throw new Error ( 'no Promise implementation available.' +
8
8
'Use promise-enabled node version or pass userland Promise' +
9
- ' implementation as parameter, for example: { Promise: require(\'es6-promise \').Promise }' ) ;
9
+ ' implementation as parameter, for example: { Promise: require(\'bluebird \') }' ) ;
10
10
}
11
11
return new Promise ( function ( resolve , reject ) {
12
12
coreConnection . once ( 'connect' , function ( connectParams ) {
@@ -168,7 +168,7 @@ PromiseConnection.prototype.prepare = function () {
168
168
169
169
function createPool ( opts ) {
170
170
var corePool = core . createPool ( opts ) ;
171
- var Promise = opts . Promise || global . Promise || require ( 'es6-promise ' ) ;
171
+ var Promise = opts . Promise || global . Promise || require ( 'bluebird ' ) ;
172
172
173
173
var promisePool = {
174
174
getConnection : function ( ) {
You can’t perform that action at this time.
0 commit comments