Skip to content

UPDATE: remove all blank vars to avoid import issue #4548

@Pantani

Description

@Pantani
          Are we using this only to avoid the import issue into the `module/simulation.go`? Because we can use the `xast` package to add a new import every time, the method checks if the import already exists to avoid duplicated imports. We can also create an issue by removing all blank variables from the project. We don't need to worry about it anymore

Originally posted by @Pantani in #4524 (comment)

eg: https://github.com/ignite/cli/blob/main/ignite/templates/module/create/files/base/x/%7B%7BmoduleName%7D%7D/module/simulation.go.plush#L18-L21

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions