From 0606b97f88c2e2346fa8c81d9a449a680f270684 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 12 Apr 2023 19:42:10 +0000 Subject: [PATCH] Fix aliasing issue (#695) Signed-off-by: Matt Provost (cherry picked from commit 1c3d9bccfb61dc661b53535549a11785f1ef791d) Signed-off-by: github-actions[bot] --- scripts/postinstall.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 08d3cd329c..d9aed75256 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -33,7 +33,10 @@ if (!INIT_CWD?.startsWith?.(PWD)) { for (const entry of fs.readdirSync(src, { withFileTypes: true })) { const srcItem = path.join(src, entry.name); - const destItem = path.join(dest, entry.name); + const destItem = path + .join(dest, entry.name) + .replace('oui', 'eui') + .replace('cascadia', 'amsterdam'); if (entry.isDirectory()) copyDirectory(srcItem, destItem); else fs.copyFileSync(srcItem, destItem);