nvim-neotest / neotest

An extensible framework for interacting with tests within NeoVim.
MIT License
2.12k stars 105 forks source link

fix: properly handle nil value from cpu_info() #427

Open massix opened 1 week ago

massix commented 1 week ago

On Android devices, the function vim.loop.cpu_info() returns a nil value, since it is unable to read from /proc for security reasons. We should handle that failure properly in Neotest and avoid panicking.