Keep console.log in monorepo-scripts

This commit is contained in:
Brandon Millman
2018-03-14 14:58:16 -07:00
parent 380e51ca50
commit 3b3d5b12bc
2 changed files with 4 additions and 4 deletions

View File

@@ -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}`);
});
}
});