Skip to content

Commit 13c0446

Browse files
committed
fix(deps): fixed yargs import for yarn 3.x + pnp
1 parent 19fdd3a commit 13c0446

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/program.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import {readFileSync} from 'fs';
66
import camelCase from 'camelcase';
77
import decamelize from 'decamelize';
88
import yargs from 'yargs';
9-
// TODO(rpl): try to remove the following suppress comment after updating flow to more recent versions.
10-
// $FlowFixMe: flow doesn't seem to read yet the `exports` property from the yargs package.json.
11-
import { Parser as yargsParser } from 'yargs/yargs';
9+
import { Parser as yargsParser } from 'yargs/helpers';
1210

1311
import defaultCommands from './cmd';
1412
import {UsageError} from './errors';

0 commit comments

Comments
 (0)