From 4242f6ee3db910013bb6de6dc396f254f238c71d Mon Sep 17 00:00:00 2001 From: David Sheldrick Date: Tue, 2 May 2023 14:33:30 +0100 Subject: [PATCH] [chore] use explicit yarn in clean script (#1216) I was finding that `npx yarn` was causing yarn v1 to be used for some reason --- scripts/clean.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean.sh b/scripts/clean.sh index 8c648ddef..0e620acfd 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -34,7 +34,7 @@ rm -rf {packages,apps,bublic/packages,bublic/apps}/vscode/extension/temp rm -rf {packages,apps,bublic/packages,bublic/apps}/vscode/extension/editor rm -rf bublic/apps/docs/content.json -# need to run yarn via npx +# need to run yarn directly # because yarn messes with the PATH, aliasing itself to some tmp dir # which is apparently deleted by our clean script -npx yarn +node "$(dirname -- "$0")/../.yarn/releases/yarn-3.5.0.cjs"