Skip to content

Commit

Permalink
fix some buf lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Mar 8, 2025
1 parent 3bfd77e commit 216cb39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ignite/pkg/protoanalysis/protoutil/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ func isString(s string) bool {

// defaultComment creates a new default proto comment with name and type.
func defaultComment(name, protoType string) *proto.Comment {
return newComment(fmt.Sprintf("// %[1]v defines the %[1]v %[2]v.", name, protoType))
return newComment(fmt.Sprintf(" %[1]v defines the %[1]v %[2]v.", name, protoType))
}

// newComment creates a new proto comment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ message Module {
go_import: "<%= modulePath %>/x/<%= moduleName %>"
};

// authority defines the custom module authority. If not set, defaults to the governance module.
// authority defines the custom module authority.
// If not set, defaults to the governance module.
string authority = 1;

<%= for (i, config) in configs { %>
Expand Down

0 comments on commit 216cb39

Please sign in to comment.