Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
timocov committed Sep 4, 2022
1 parent c9037b7 commit 58b93d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bin/dts-bundle-generator.ts
Expand Up @@ -6,7 +6,6 @@ import * as yargs from 'yargs';

import { loadConfigFile, BundlerConfig, ConfigEntryPoint } from '../config-file/load-config-file';

import * as pkg from '../../package.json';
import { generateDtsBundle } from '../bundle-generator';
import { checkProgramDiagnosticsErrors } from '../helpers/check-diagnostics-errors';
import { getCompilerOptions } from '../get-compiler-options';
Expand Down Expand Up @@ -69,7 +68,7 @@ function parseArgs(): ParsedArgs {
'short-option-groups': false,
/* eslint-enable @typescript-eslint/naming-convention */
})
.usage(`Usage: ${pkg.name} [options] <file(s)>`)
.usage('Usage: $0 [options] <file(s)>')
.demandCommand(0)
.option('out-file', {
alias: 'o',
Expand Down

0 comments on commit 58b93d4

Please sign in to comment.