From 4b6cce885e4a93af2312d2ed406fcbf31851de3d Mon Sep 17 00:00:00 2001 From: Kyle Herock Date: Wed, 9 Mar 2022 01:24:54 -0500 Subject: [PATCH] fix(plugin-workspaces-export): use relative path for cacheFolder in exported .yarnrc.yml --- packages/plugin-workspaces-export/sources/commands/export.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-workspaces-export/sources/commands/export.ts b/packages/plugin-workspaces-export/sources/commands/export.ts index 68552e8..ed1ae04 100644 --- a/packages/plugin-workspaces-export/sources/commands/export.ts +++ b/packages/plugin-workspaces-export/sources/commands/export.ts @@ -223,7 +223,7 @@ export default class WorkspacesExportCommand extends BaseCommand { tmpConfiguration.values.set(`cacheFolder`, ppath.join(cacheDir, `.yarn/packages` as PortablePath)); await Configuration.updateConfiguration(cacheDir, { - cacheFolder: tmpConfiguration.get(`cacheFolder`), + cacheFolder: `.yarn/packages` as PortablePath, enableNetwork: tmpConfiguration.get(`enableNetwork`), enableMirror: tmpConfiguration.get(`enableMirror`), nodeLinker,