diff --git a/lib/core/engine.js b/lib/core/engine.js index 0598077f..98da3dea 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -216,7 +216,7 @@ class Engine { events: this.events }); - const DeployManager = require('../contracts/deploy_manager.js'); + const DeployManager = require('../modules/deployment/index.js'); this.deployManager = new DeployManager({ config: this.config, logger: this.logger, diff --git a/lib/contracts/contract_deployer.js b/lib/modules/deployment/contract_deployer.js similarity index 99% rename from lib/contracts/contract_deployer.js rename to lib/modules/deployment/contract_deployer.js index 8911281d..cb150d7c 100644 --- a/lib/contracts/contract_deployer.js +++ b/lib/modules/deployment/contract_deployer.js @@ -1,6 +1,6 @@ let async = require('async'); //require("../utils/debug_util.js")(__filename, async); -let utils = require('../utils/utils.js'); +let utils = require('../../utils/utils.js'); class ContractDeployer { constructor(options) { diff --git a/lib/contracts/deploy_manager.js b/lib/modules/deployment/index.js similarity index 98% rename from lib/contracts/deploy_manager.js rename to lib/modules/deployment/index.js index fc6b2374..31db0f66 100644 --- a/lib/contracts/deploy_manager.js +++ b/lib/modules/deployment/index.js @@ -1,7 +1,7 @@ let async = require('async'); const ContractDeployer = require('./contract_deployer.js'); -const utils = require('../utils/utils.js'); +const utils = require('../../utils/utils.js'); //require("../utils/debug_util.js")(__filename, async); class DeployManager {