mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 15:01:34 +08:00
When wl-paste produces empty output, the destination file was left as a 0-byte orphan. Added dest.unlink() before returning False, matching the existing cleanup pattern in the exception handler. Authored by 0xbyt4. Co-authored-by: 0xbyt4 <0xbyt4@users.noreply.github.com>