Skip to content

Commit

Permalink
fix(deps): fixed yargs import for yarn 3.x + pnp (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
leaumar authored Nov 19, 2021
1 parent 19fdd3a commit 99ccb73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import {readFileSync} from 'fs';
import camelCase from 'camelcase';
import decamelize from 'decamelize';
import yargs from 'yargs';
// TODO(rpl): try to remove the following suppress comment after updating flow to more recent versions.
// $FlowFixMe: flow doesn't seem to read yet the `exports` property from the yargs package.json.
import { Parser as yargsParser } from 'yargs/yargs';
import { Parser as yargsParser } from 'yargs/helpers';

import defaultCommands from './cmd';
import {UsageError} from './errors';
Expand Down

0 comments on commit 99ccb73

Please sign in to comment.