Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Adjust styling of deploy kind descriptions
Browse files Browse the repository at this point in the history
(cherry picked from commit 07dc07a)
  • Loading branch information
frangio committed Mar 16, 2020
1 parent e0870ba commit 36501e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/commands/deploy/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import { commonOptions } from '../utils';
import { TxParams } from '@openzeppelin/upgrades';
import NetworkFile from '../../models/files/NetworkFile';
import { DEFAULT_TX_TIMEOUT } from '../../models/network/defaults';
import { capitalize } from 'lodash';
import chalk from 'chalk';

function kindChoice<K extends string>(kind: K, description: string) {
return {
name: `${chalk.underline(capitalize(kind))}: ${description}`,
name: `${kind}\t${chalk.reset.dim(description)}`,
value: kind,
short: kind,
};
Expand Down

0 comments on commit 36501e8

Please sign in to comment.