topaxi / pipeline.nvim

See status of ci/cd pipeline runs directly in neovim. Currently supports GitHub Actions and GitLab CI.
138 stars 5 forks source link

vim.schedule error #20

Closed maxthier closed 2 days ago

maxthier commented 3 days ago

Error

When using this plugin i receive the following error all the time:

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/iter.lua:236: flatten() requires a list-like table
stack traceback:                                                                                                                                                                                                   
        [C]: in function 'error'                                                                                                                                                                                   
        /usr/share/nvim/runtime/lua/vim/iter.lua:236: in function 'flatten'                                                                                                                                        
        ...ipeline.nvim/lua/pipeline/providers/github/rest/init.lua:76: in function ''                                                                                                                             
        vim/_editor.lua: in function <vim/_editor.lua:0>

When does it happen?

As soon as I run :Pipeline close it doesn't happen anymore.

I don't now much about Lua and neovim plugins in general but if you have anything I can help with I'm happy to

topaxi commented 3 days ago

Could you try again with the latest version on main?

Unsure whether it's actually fixed, but e2a2da5 might do.

topaxi commented 2 days ago

Feel free to reopen if the problem persists and I'll take another look :)