Skip to content

Conversation

@imnotjames
Copy link
Contributor

the CLI command query had an implicit query positional
parameter and in earlier versions of yargs that was okay -
but in the later versions aiming for more correct code they've
refactored it to not support that

explicitly define the query positional parameter & add a
helpful description so people can tell what it is for

fixes #6896

the CLI command `query` had an implicit `query` positional
parameter and in earlier versions of yargs that was okay -
but in the later versions aiming for more correct code they've
refactored it to not support that

explicitly define the `query` positional parameter & add a
helpful description so people can tell what it is for

fixes typeorm#6896
@imnotjames imnotjames merged commit 4475d80 into typeorm:master Oct 14, 2020
@imnotjames imnotjames deleted the fix/command-query branch October 14, 2020 18:07
@imnotjames imnotjames added the hacktoberfest-accepted label hacktoberfest label Oct 16, 2020
zaro pushed a commit to zaro/typeorm that referenced this pull request Jan 12, 2021
the CLI command `query` had an implicit `query` positional
parameter and in earlier versions of yargs that was okay -
but in the later versions aiming for more correct code they've
refactored it to not support that

explicitly define the `query` positional parameter & add a
helpful description so people can tell what it is for

fixes typeorm#6896
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted label hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Unknown argument" error using TypeORM CLI

1 participant