[Bug] doc delete confirmation prompt is dead code #1
Reference in New Issue
Block a user
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?
Bug Description
In
src/commands/doc.js, thedoc deletecommand importsinquirerbut never uses it for confirmation:The
--yesflag is defined but does nothing - the deletion proceeds immediately without user confirmation.Impact
Users running
simplenote doc delete <id>without--yesexpect a confirmation prompt but none appears.Suggested Fix
Either implement the confirmation prompt or remove the
--yesflag and dead import.