mirror of
https://github.com/onyx-and-iris/ignr.git
synced 2026-04-18 07:13:33 +00:00
wrap CLI with fang
This commit is contained in:
2
new.go
2
new.go
@@ -95,7 +95,7 @@ func runPrompt(client *github.Client, pc *promptConfig) (*github.Gitignore, erro
|
||||
|
||||
i, _, err := prompt.Run()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error running selection prompt: %w", err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
content, _, err := client.Gitignores.Get(context.Background(), templates[i])
|
||||
|
||||
Reference in New Issue
Block a user