fix(@embark/utils): expose longRunningProcessTimer properly

This seemed to have slipped through when reviewing 94c7ab3e12
This commit is contained in:
Pascal Precht 2019-05-02 12:52:05 +02:00
parent dd898f0c7a
commit 244e2e2fb1
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
const fs = require('fs');
const PluginManager = require('live-plugin-manager-git-fix').PluginManager;
require('colors');
import LongRunningProcessTimer from 'embark-utils';
import { LongRunningProcessTimer } from 'embark-utils';
class Npm {

View File

@ -18,6 +18,7 @@ import {
soliditySha3
} from './web3Utils';
import { getAddressToContract, getTransactionParams } from './transactionUtils';
import LongRunningProcessTimer from './longRunningProcessTimer';
import AccountParser from './accountParser';
const { extendZeroAddressShorthand, replaceZeroAddressShorthand } = AddressUtils;
@ -199,6 +200,7 @@ const Utils = {
escapeHtml: logUtils.escapeHtml,
normalizeInput: logUtils.normalizeInput,
LogHandler: require('./logHandler'),
LongRunningProcessTimer,
proposeAlternative,
toposort,
AddressUtils,

View File

@ -2,7 +2,7 @@ const fs = require('fs-extra');
const semver = require('semver');
const ProcessWrapper = require('../../core/processes/processWrapper');
const PluginManager = require('live-plugin-manager-git-fix').PluginManager;
import LongRunningProcessTimer from 'embark-utils';
import { LongRunningProcessTimer } from 'embark-utils';
class SolcProcess extends ProcessWrapper {