property UpgradeDeps.allowSelfUpgrade

Whether qunitx may run another tool's installer on the user's behalf. Defaults to true unless QUNITX_NO_SELF_UPGRADE is set — for a locked-down image, a CI box, or anywhere the answer to "may this process install things" is no. Blocked, upgrade prints the command it would have run and exits 1, which is what it did before it could run anything.

Type

boolean

Usage

import { type UpgradeDeps } from "lib/commands/upgrade/index.ts";