Skip to content

Commit

Permalink
build(npm): fix renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored Feb 12, 2022
1 parent 4507c23 commit a35cb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/npm/scripts/rename.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env zx

for (const f of await globby('interslavic-hunspell-dictionary-*.tgz')) {
const altName = f.replace('hunspell-dictionary', 'dict-npm');
for (const f of await globby('dictionary-isv-*.tgz')) {
const altName = f.replace('dictionary-isv', 'interslavic-dict-npm');
await fs.move(f, altName, { overwrite: true });
console.log('Renamed:', f, '->', altName);
}

0 comments on commit a35cb95

Please sign in to comment.