Skip to content

Commit

Permalink
fix: use slog.Default
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Morozko <andrewmorozko@gmail.com>
  • Loading branch information
anasmuhmd and Andrew-Morozko authored Aug 3, 2024
1 parent 6e03a99 commit 3c490f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/github/publish_github_gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func parseContent(data plugin.MapData) (document *plugin.ContentSection) {

func publishGithubGist(loader ClientLoaderFn) plugin.PublishFunc {
// TODO: confirm if to be passed from the caller
logger := slog.New(slog.NewTextHandler(io.Discard, nil))
logger := slog.Default()
tracer := nooptrace.Tracer{}
return func(ctx context.Context, params *plugin.PublishParams) diagnostics.Diag {
document := parseContent(params.DataContext)
Expand Down

0 comments on commit 3c490f6

Please sign in to comment.