Skip to content

Commit

Permalink
make advanced comment provider match basic comment provider (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Jun 24, 2024
1 parent cb3b0de commit b43944e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/cli/pkg/comment_updater/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type CommentUpdaterProviderAdvanced struct {

func (c CommentUpdaterProviderAdvanced) Get(config digger_config.DiggerConfig) (comment_updater.CommentUpdater, error) {
if config.CommentRenderMode == digger_config.CommentRenderModeBasic {
return AdvancedCommentUpdater{}, nil
return comment_updater.BasicCommentUpdater{}, nil
} else if config.CommentRenderMode == digger_config.CommentRenderModeGroupByModule {
commentUpdater := comment_updater.BasicCommentUpdater{}
return commentUpdater, nil
Expand Down

0 comments on commit b43944e

Please sign in to comment.