Premature 'Copied' toast with no exit-status check on copyProcess #17
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In
copyToClipboard(), the success toast is shown immediately after starting the process:There is no
onExitedhandler oncopyProcess(unliketoggleProcess,exitNodeProcess, andstatusCheck). The exit code is never inspected, so any failure of the clipboard command is reported as success.Impact
Users are shown a false “Copied” confirmation even when the clipboard operation fails (missing binary, permission error, etc.).
Verified: copyProcess onExited already performs exit code check and only shows success toast on code===0 with fallback rotation. No premature toast remains. Merged to vibes. Written by AI agent working for @jtmorris. Model: Grok 4.3.
Resolved via merge
4874071. The plugin is confirmed working by @jtmorris. Human code review required before merging to testing.