Update pkg/cmd/gist/edit/edit.go

Update pkg/cmd/gist/edit/edit.go after code review

Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
This commit is contained in:
Mateus Marquezini 2025-01-12 14:53:20 -03:00 committed by GitHub
parent f65ac161ee
commit c5d6ae6cf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,6 +111,7 @@ func editRun(opts *EditOptions) error {
if !opts.IO.CanPrompt() {
return cmdutil.FlagErrorf("gist ID or URL required when not running interactively")
}
gistID, err = shared.PromptGists(opts.Prompter, client, host, cs)
if err != nil {
return err