-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove unused placeholder vars #4549
base: main
Are you sure you want to change the base?
Conversation
…aceholder-vars # Conflicts: # ignite/templates/module/create/files/base/x/{{moduleName}}/module/simulation.go.plush
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the clean-up but I have a doubt about the "strconv" removal: https://github.com/ignite/cli/blob/main/ignite/templates/field/datatype/string.go#L17.
Couldn't make it fail locally, so i suppose it works. This is probably goimports
adding it automagically right?
content, err := xast.AppendImports( | ||
content, | ||
xast.WithLastNamedImport( | ||
fmt.Sprintf("%[1]vsimulation", moduleName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't <modulename>/testutil/sample
be added here too
close #4548