Fix stale comments in ensureDeleteConfirmable

Merged
JE
3mo ago
+9-7

#654 merged at 7ea0be6, before two comment-only revisions landed on the feature branch. This applies just those 16 lines — no code changes.

  • The historical paragraph now describes the old gate in the past tense ("the old gate looked at flags, the env var and stdout, never stdin").
  • The closing note on isNonInteractiveCommand said "read, never widened", but the delete path no longer consults it at all: it is deliberately bypassed — machineReadsThisOutput asks the narrower question this needs — and left untouched for its other callers (missingArg, noChanges), where widening would move behavior across many commands.

bin/ci green.


Summary by cubic

Fixes two stale comments in ensureDeleteConfirmable that were left behind when the force-flag work merged in #654. No code behavior changes; this is comment text only.

  • The historical paragraph now describes the old gate in the past tense.
  • The closing note now says isNonInteractiveCommand is deliberately bypassed—machineReadsThisOutput asks the narrower question—and left untouched for its other callers (missingArg, noChanges), not "read, never widened".