nvim-tree / nvim-tree/nvim-tree.lua
CI Check Nightly Failing
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
nightly luacheck is failing with:
lua/nvim-tree/actions/tree/collapse.lua:18:38 [Warning] Cannot assign `integer` to parameter `string`.
- `integer` cannot match `string`
- Type `integer` cannot match `string`
- Type `number` cannot match `string` (param-type-mismatch)
local matches = utils.str_find(buffer_path, path)
Stable is passing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lua/nvim-tree/actions/tree/collapse.lua:18 and inspect the utils.str_find definition and its parameter types. Reproduce the failure with the nightly luacheck workflow linked in the issue, then verify that the type warning is resolved and both nightly and stable checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- ci-cd, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100