From 0c92177874ec6f56dae245e32edbe5296aeceede Mon Sep 17 00:00:00 2001 From: Kelly Mears Date: Fri, 8 Sep 2023 03:05:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix(patch):=20fix=20`bud=20upgra?= =?UTF-8?q?de`=20(#2438)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix an issue with `bud upgrade` when using yarn (classic). ## Type of change **PATCH: backwards compatible change** --- sources/@roots/bud/src/cli/commands/upgrade/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/@roots/bud/src/cli/commands/upgrade/index.tsx b/sources/@roots/bud/src/cli/commands/upgrade/index.tsx index c51a6c906d..27d26c6343 100644 --- a/sources/@roots/bud/src/cli/commands/upgrade/index.tsx +++ b/sources/@roots/bud/src/cli/commands/upgrade/index.tsx @@ -112,6 +112,7 @@ export default class BudUpgradeCommand extends BudCommand { } this.command = this.pm === `npm` ? `install` : `add` + this.pm = this.pm === `yarn-classic` ? `yarn` : this.pm if (!this.version) { const get = await import(`@roots/bud-support/axios`)