From 6e03a9930eaac4e73ace5bbd555032ece8b9ded2 Mon Sep 17 00:00:00 2001 From: Anas Muhammed Date: Sat, 3 Aug 2024 11:48:53 +0400 Subject: [PATCH] fix: format logs --- internal/github/publish_github_gist.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/github/publish_github_gist.go b/internal/github/publish_github_gist.go index fc656849..cc6f6c79 100644 --- a/internal/github/publish_github_gist.go +++ b/internal/github/publish_github_gist.go @@ -149,7 +149,7 @@ func publishGithubGist(loader ClientLoaderFn) plugin.PublishFunc { Detail: err.Error(), }} } - slog.InfoContext(ctx, "created gist", "url", *gist.HTMLURL) + slog.InfoContext(ctx, "Created gist", "url", *gist.HTMLURL) } else { gist, _, err := client.Gists().Get(ctx, gistId.AsString()) @@ -176,7 +176,7 @@ func publishGithubGist(loader ClientLoaderFn) plugin.PublishFunc { Detail: err.Error(), }} } - slog.InfoContext(ctx, "updated gist", "url", *gist.HTMLURL) + slog.InfoContext(ctx, "Updated gist", "url", *gist.HTMLURL) } return nil }