Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit d058990

Browse files
Add comment to exists check
Co-authored-by: Simon Barendse <SimonBarendse@users.noreply.github.com>
1 parent a8106cf commit d058990

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internals/secrethub/service_gcp_init.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func (cmd *ServiceGCPInitCommand) Run() error {
4848
return err
4949
}
5050

51+
// Fail fast if the repo does not exist.
5152
_, err = client.Repos().Get(cmd.repo.String())
5253
if err != nil {
5354
return err

0 commit comments

Comments
 (0)