I expect Yarn to exit when "No upgrades found" with yarn upgrade-interactive. Instead it stays open until I close it with CTRL+C.
This is using PowerShell v7.4.3 x64 in VSCode v1.90.2 x64 on Windows 11 23H2. NodeJS installed with fnm fnm env --corepack-enabled; fnm install --lts, corepack enabled, in a project with package.json has "packageManager": "yarn@4.3.1+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774".
PS > yarn upgrade-interactive
Press <up>/<down> to select packages. Press <enter> to install.
Press <left>/<right> to select versions. Press <ctrl+c> to abort.
? Pick the packages you want to upgrade. Current Range Latest
No upgrades found
To reproduce
yarn upgrade-interactive with no packages to upgrade.
Self-service
Describe the bug
I expect Yarn to exit when "No upgrades found" with
yarn upgrade-interactive
. Instead it stays open until I close it withCTRL+C
.This is using PowerShell v7.4.3 x64 in VSCode v1.90.2 x64 on Windows 11 23H2. NodeJS installed with fnm
fnm env --corepack-enabled; fnm install --lts
, corepack enabled, in a project withpackage.json
has"packageManager": "yarn@4.3.1+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774"
.To reproduce
yarn upgrade-interactive
with no packages to upgrade.Environment
Additional context
No response