fixed bug in promisifying network package
This commit is contained in:
parent
9e9b5ca9ad
commit
b8f282db79
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports.create = function (deps, conf) {
|
||||
var network = deps.PromiseA.promisify(deps.recase.camelCopy(require('network')));
|
||||
var network = deps.PromiseA.promisifyAll(deps.recase.camelCopy(require('network')));
|
||||
var loopback = require('./loopback').create(deps, conf);
|
||||
var dnsCtrl = require('./dns-ctrl').create(deps, conf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue