From abef7d530da825cfcf21863f0d4b62223a67caf5 Mon Sep 17 00:00:00 2001 From: Matt Provost Date: Tue, 11 Apr 2023 17:10:23 +0000 Subject: [PATCH] Fix aliasing issue Signed-off-by: Matt Provost --- 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);