From 7fcc504873a36c7caea4fa1695cf29f46fa5fa7e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Jul 2018 12:30:15 -0400 Subject: [PATCH] fix requires --- lib/modules/library_manager/npm.js | 2 +- lib/modules/library_manager/npmTimer.js | 2 +- lib/modules/solidity/solcP.js | 2 +- lib/modules/solidity/solcW.js | 2 +- test/accountParser.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/modules/library_manager/npm.js b/lib/modules/library_manager/npm.js index a906b8e2a..cb848c536 100644 --- a/lib/modules/library_manager/npm.js +++ b/lib/modules/library_manager/npm.js @@ -1,7 +1,7 @@ const fs = require('../../core/fs.js'); const PluginManager = require('live-plugin-manager-git-fix').PluginManager; require('colors'); -const NpmTimer = require('./npmTimer'); +const NpmTimer = require('./npmTimer.js'); class Npm { diff --git a/lib/modules/library_manager/npmTimer.js b/lib/modules/library_manager/npmTimer.js index c49c75002..95d3a23fe 100644 --- a/lib/modules/library_manager/npmTimer.js +++ b/lib/modules/library_manager/npmTimer.js @@ -1,6 +1,6 @@ const {PerformanceObserver, performance} = require('perf_hooks'); require('colors'); -const utils = require('../utils/utils.js'); +const utils = require('../../utils/utils.js'); const i18n = require('../../core/i18n/i18n.js'); i18n.setOrDetectLocale('en'); diff --git a/lib/modules/solidity/solcP.js b/lib/modules/solidity/solcP.js index 448c1af65..e33aa4a67 100644 --- a/lib/modules/solidity/solcP.js +++ b/lib/modules/solidity/solcP.js @@ -4,7 +4,7 @@ const constants = require('../../constants'); const Utils = require('../../utils/utils'); const ProcessWrapper = require('../../processes/processWrapper'); const PluginManager = require('live-plugin-manager-git-fix').PluginManager; -const NpmTimer = require('../../versions/npmTimer'); +const NpmTimer = require('../library_manager/npmTimer'); class SolcProcess extends ProcessWrapper { diff --git a/lib/modules/solidity/solcW.js b/lib/modules/solidity/solcW.js index 0866983c7..a82b390b1 100644 --- a/lib/modules/solidity/solcW.js +++ b/lib/modules/solidity/solcW.js @@ -1,7 +1,7 @@ let utils = require('../../utils/utils.js'); let fs = require('../../core/fs.js'); let currentSolcVersion = require('../../../package.json').dependencies.solc; -const ProcessLauncher = require('../../processes/processLauncher'); +const ProcessLauncher = require('../../processes/processLauncher.js'); const uuid = require('uuid/v1'); class SolcW { diff --git a/test/accountParser.js b/test/accountParser.js index 7b9e3bd67..1d5f4e740 100644 --- a/test/accountParser.js +++ b/test/accountParser.js @@ -5,7 +5,7 @@ const AccountParser = require('../lib/contracts/accountParser'); const utils = require('../lib/utils/utils'); let TestLogger = require('../lib/tests/test_logger.js'); const Web3 = require('web3'); -const i18n = require('../lib/i18n/i18n.js'); +const i18n = require('../lib/core/i18n/i18n.js'); i18n.setOrDetectLocale('en'); describe('embark.AccountParser', function () {