diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-16 01:13:49 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-16 01:14:51 +0800 |
commit | 3430e2bdac906d5842e9d7cde38c840159b816fd (patch) | |
tree | fc0fd7521fa4b6fdad728a317c3843536c46af10 /packages | |
parent | cdcf925378d466590ebc478243219b3510580e65 (diff) | |
download | dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.gz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.bz2 dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.lz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.xz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.zst dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.zip |
Fix bad merge
Diffstat (limited to 'packages')
-rw-r--r-- | packages/monorepo-scripts/src/utils.ts | 4 | ||||
-rw-r--r-- | packages/sra-report/src/index.ts | 1 | ||||
-rw-r--r-- | packages/sra-report/src/utils.ts | 6 |
3 files changed, 7 insertions, 4 deletions
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<NewmanRunSummary>(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<NewmanRunSummary>(newmanRun), +}; |