review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
This commit is contained in:
@@ -138,6 +138,8 @@ def upgrade_managed_npm(npm: str, npm_range: str, *, prefix: Path, quiet: bool =
|
||||
print(f"→ Upgrading Hermes-managed npm to satisfy {npm_range}…", flush=True)
|
||||
# The desktop app's Node processes execute from this tree; an in-place upgrade while in use
|
||||
# fails with PermissionError on npm.cmd. Defer — the upgrade re-triggers on the next resolution.
|
||||
# Defer instead of forcing the write — the upgrade re-triggers on the next resolution (e.g. the next
|
||||
# update once the app is closed). See #80926.
|
||||
if managed_node_tree_in_use():
|
||||
if not quiet:
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user