diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-15 05:58:16 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-15 05:58:16 +0800 |
commit | 3b3d5b12bc78b13860504b9699fd5f15ae8813a1 (patch) | |
tree | 344bd9cb3391a7a0cfb726cc7a54f4694eabd974 /packages/monorepo-scripts/src/deps_versions.ts | |
parent | 380e51ca505a880e1ac24f46b3ba7e1a736f693e (diff) | |
download | dexon-0x-contracts-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.gz dexon-0x-contracts-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.zst dexon-0x-contracts-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.zip |
Keep console.log in monorepo-scripts
Diffstat (limited to 'packages/monorepo-scripts/src/deps_versions.ts')
-rw-r--r-- | packages/monorepo-scripts/src/deps_versions.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/deps_versions.ts b/packages/monorepo-scripts/src/deps_versions.ts index d8728dade..07292a160 100644 --- a/packages/monorepo-scripts/src/deps_versions.ts +++ b/packages/monorepo-scripts/src/deps_versions.ts @@ -1,11 +1,12 @@ #!/usr/bin/env node -import { logUtils } from '@0xproject/utils'; import chalk from 'chalk'; import * as fs from 'fs'; import { sync as globSync } from 'glob'; import * as _ from 'lodash'; +import { utils } from './utils'; + interface Dependencies { [depName: string]: string; } @@ -45,9 +46,9 @@ _.map(versionsByDependency, (versions: Versions, depName: string) => { if (_.uniq(_.values(versions)).length === 1) { delete versionsByDependency[depName]; } else { - logUtils.log(chalk.bold(depName)); + utils.log(chalk.bold(depName)); _.map(versions, (version: string, packageName: string) => { - logUtils.log(`├── ${packageName} -> ${version}`); + utils.log(`├── ${packageName} -> ${version}`); }); } }); |