Skip to content

fix: throw error for non-existing org / repo with non-zero status in repo list#7240

Merged
mislav merged 5 commits intocli:trunkfrom
wingkwong:fix/repo-list
Mar 28, 2023
Merged

fix: throw error for non-existing org / repo with non-zero status in repo list#7240
mislav merged 5 commits intocli:trunkfrom
wingkwong:fix/repo-list

Conversation

@wingkwong
Copy link
Contributor

fixes: #7231

@wingkwong wingkwong requested a review from a team as a code owner March 28, 2023 15:41
@wingkwong wingkwong requested review from mislav and removed request for a team March 28, 2023 15:41
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Mar 28, 2023
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this is a good start! Some important notes follow

Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mislav mislav merged commit 1f0e533 into cli:trunk Mar 28, 2023
@ianwilliams1
Copy link

Are there no additional test cases to accompany this change ? Are there any test cases for CLI ?

@mislav
Copy link
Contributor

mislav commented Mar 29, 2023

@ianwilliams1 Good point; I've forgot to ask the submitter for a test. I've added one in a followup PR 🙇

@wingkwong
Copy link
Contributor Author

After Mislav's comments, I've revised the test locally but haven't committed it since it was still in WIP. Should've changed the PR to draft. Sorry about that. Since he's made it already, I'll discard my local change then.

@wingkwong wingkwong deleted the fix/repo-list branch March 29, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gh repo list ORG where ORG does not exist, not an error

4 participants