cp.nvim/lua
Barrett Ruth 2b8c53f9d7 feat(submit): guard against submitting an empty source file
Problem: if the source file exists but is empty, the scraper would send
a blank submission to the platform.

Solution: resolve the path to absolute before checking, use
`vim.uv.fs_stat` to verify existence, and abort with a WARN if
`stat.size == 0`.
2026-03-07 16:28:33 -05:00
..
cp feat(submit): guard against submitting an empty source file 2026-03-07 16:28:33 -05:00