Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: panic error on empty args when using depot cache reset command #127

Merged
merged 1 commit into from
May 24, 2023

Conversation

novalagung
Copy link
Contributor

This PR contains two changes that affect the pkg/cmd/cache package:

  1. remove duplicate if projectID == "" statement. for some reason there are two of it.

  2. fix a panic error that occurs if the depot cache reset command executed without arguments. please see attached image for more details

Screenshot_9

@novalagung
Copy link
Contributor Author

kindly please review this PR @jacobwgillespie @goller

Copy link
Member

@jacobwgillespie jacobwgillespie left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for this! 🎉

@jacobwgillespie jacobwgillespie merged commit bdb8adf into depot:main May 24, 2023
@jacobwgillespie
Copy link
Member

This has been released as v2.15.1 - thanks again! 🚀

@novalagung novalagung deleted the fix/cache-reset branch May 26, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants