From 83e12c95871fc19ed38b3af9a61095289f64a621 Mon Sep 17 00:00:00 2001 From: Alexandre Bourget Date: Mon, 11 Nov 2024 12:16:03 -0500 Subject: [PATCH] Better display of reason. --- cmd/substreams/registry-publish.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/substreams/registry-publish.go b/cmd/substreams/registry-publish.go index bbb57da2..425f12ee 100644 --- a/cmd/substreams/registry-publish.go +++ b/cmd/substreams/registry-publish.go @@ -162,7 +162,7 @@ func runRegistryPublish(cmd *cobra.Command, args []string) error { linkStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("9")) fmt.Println("") fmt.Println(linkStyle.Render("Failed to publish package") + "\n") - fmt.Println("Reason:" + string(b)) + fmt.Println("Reason: " + string(b)) return nil } @@ -182,7 +182,7 @@ func runRegistryPublish(cmd *cobra.Command, args []string) error { return nil } -func copyPasteTokenForm(endpoint string) (string, error){ +func copyPasteTokenForm(endpoint string) (string, error) { linkStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("12")) fmt.Printf("Login to the Substreams registry.") fmt.Println() @@ -214,4 +214,4 @@ func copyPasteTokenForm(endpoint string) (string, error){ } return token, nil -} \ No newline at end of file +}