From a191bf16c3e64359610eeb9562ca4c593199e439 Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Tue, 31 Dec 2024 00:49:38 +0100 Subject: [PATCH] chore: add hidden folders to codespell --- .github/workflows/spell-checker.yml | 2 +- modules/core/04-channel/keeper/upgrade_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index e2399eaa619..5186ce40039 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -23,7 +23,7 @@ jobs: run: pip install codespell - name: Run codespell continue-on-error: true - run: codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,.github,*.pdf,*.tla" --ignore-words=.github/.codespellignore + run: codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,.github,*.pdf,*.tla" --ignore-words=.github/.codespellignore --check-hidden - uses: peter-evans/create-pull-request@v7 if: github.event_name != 'pull_request' with: diff --git a/modules/core/04-channel/keeper/upgrade_test.go b/modules/core/04-channel/keeper/upgrade_test.go index 26ee0e22b6d..f1c49dbeebb 100644 --- a/modules/core/04-channel/keeper/upgrade_test.go +++ b/modules/core/04-channel/keeper/upgrade_test.go @@ -2492,8 +2492,8 @@ func (suite *KeeperTestSuite) TestAbortUpgrade() { errorReceipt, found := channelKeeper.GetUpgradeErrorReceipt(suite.chainA.GetContext(), path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) suite.Require().True(found, "error receipt should be found") - if ue, ok := upgradeError.(*types.UpgradeError); ok { - suite.Require().Equal(ue.GetErrorReceipt(), errorReceipt, "error receipt does not match expected error receipt") + if upgradeError, ok := upgradeError.(*types.UpgradeError); ok { + suite.Require().Equal(upgradeError.GetErrorReceipt(), errorReceipt, "error receipt does not match expected error receipt") } } else {