From 3430e2bdac906d5842e9d7cde38c840159b816fd Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Thu, 15 Mar 2018 10:13:49 -0700 Subject: Fix bad merge --- packages/monorepo-scripts/src/utils.ts | 4 ---- packages/sra-report/src/index.ts | 1 + packages/sra-report/src/utils.ts | 6 ++++++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 packages/sra-report/src/utils.ts (limited to 'packages') diff --git a/packages/monorepo-scripts/src/utils.ts b/packages/monorepo-scripts/src/utils.ts index 57c1b5af3..5423cabd9 100644 --- a/packages/monorepo-scripts/src/utils.ts +++ b/packages/monorepo-scripts/src/utils.ts @@ -1,9 +1,5 @@ -import { promisify } from '@0xproject/utils'; -import { NewmanRunSummary, run as newmanRun } from 'newman'; - export const utils = { log(...args: any[]): void { console.log(...args); // tslint:disable-line:no-console }, - newmanRunAsync: promisify(newmanRun), }; diff --git a/packages/sra-report/src/index.ts b/packages/sra-report/src/index.ts index bce9d17ec..9a203b654 100644 --- a/packages/sra-report/src/index.ts +++ b/packages/sra-report/src/index.ts @@ -10,6 +10,7 @@ import * as yargs from 'yargs'; import * as sraReportCollectionJSON from '../../postman_collections/sra_report.postman_collection.json'; import { postmanEnvironmentFactory } from './postman_environment_factory'; +import { utils } from './utils'; const DEFAULT_NETWORK_ID = 1; const SUPPORTED_NETWORK_IDS = [1, 3, 4, 42]; diff --git a/packages/sra-report/src/utils.ts b/packages/sra-report/src/utils.ts new file mode 100644 index 000000000..3a83a7ea0 --- /dev/null +++ b/packages/sra-report/src/utils.ts @@ -0,0 +1,6 @@ +import { promisify } from '@0xproject/utils'; +import { NewmanRunSummary, run as newmanRun } from 'newman'; + +export const utils = { + newmanRunAsync: promisify(newmanRun), +}; -- cgit