Skip to content

Commit

Permalink
Fix aliasing issue (opensearch-project#695)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Provost <[email protected]>
  • Loading branch information
BSFishy authored Apr 12, 2023
1 parent ff45ae5 commit 1c3d9bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c3d9bc

Please sign in to comment.