npm_engine.py 321 B

12345678910
  1. """Stop an already-running old updater before its retired npm retry path."""
  2. from typing import NoReturn
  3. from hermes_cli._old_updater import stop_for_relaunch
  4. def maybe_repair_npm_engine(*args, **kwargs) -> NoReturn:
  5. # Returning would let old callers retry or continue their stale update.
  6. stop_for_relaunch()