Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak behavior of removal of non-existent repo
Print message when repo doesn't exist (and return nil), instead of returning an error. Only return error when client.Repositories.Delete fails. This prevents `shorten remove ...` from dying early due to a repo not existing.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters