Skip to content

Commit

Permalink
fix: correct invalid plugin hook check (#3716)
Browse files Browse the repository at this point in the history
* fix: correct invalid plugin hook check

Co-authored-by: Tina Aliakbarpour <[email protected]>

* chore: update changelog

---------

Co-authored-by: Tina Aliakbarpour <[email protected]>
  • Loading branch information
jeronimoalbi and tinaaliakbarpour authored Oct 27, 2023
1 parent 6f98b6c commit 3050e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- [#3631](https://github.com/ignite/cli/pull/3631) Fix unnecessary vue import in hooks/composables template
- [#3655](https://github.com/ignite/cli/pull/3655) Re-enable TS client generation
- [#3661](https://github.com/ignite/cli/pull/3661) Change `pkg/cosmosanalysis` to find Cosmos SDK runtime app registered modules
- [#3716](https://github.com/ignite/cli/pull/3716) Fix invalid plugin hook check

## [`v0.27.0`](https://github.com/ignite/cli/releases/tag/v0.27.0)

Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func linkPluginHook(rootCmd *cobra.Command, p *plugin.Plugin, hook plugin.Hook)
}
}()

if preRun != nil {
if postCmd != nil {
err := postCmd(cmd, args)
if err != nil {
// dont return the error, log it and let execution continue to `Run`
Expand Down

0 comments on commit 3050e62

Please sign in to comment.