Skip to content

fix: shadowed variable causes error#614

Merged
ray-x merged 1 commit into
ray-x:masterfrom
davepgreene:fix-healthcheck-variable-shadowing
Apr 13, 2026
Merged

fix: shadowed variable causes error#614
ray-x merged 1 commit into
ray-x:masterfrom
davepgreene:fix-healthcheck-variable-shadowing

Conversation

@davepgreene

Copy link
Copy Markdown
Contributor

This PR fixes an issue where the local ok shadows the global assignment on line 15 which caused this error to always appear in healthchecks:

- ❌ ERROR Failed to run healthcheck for "go" plugin. Exception:
  ...user/.local/share/nvim/lazy/go.nvim/lua/go/health.lua:190: attempt to call local 'ok' (a boolean value)

@ray-x ray-x left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@ray-x
ray-x merged commit ed77921 into ray-x:master Apr 13, 2026
2 checks passed
@davepgreene
davepgreene deleted the fix-healthcheck-variable-shadowing branch April 13, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants