Skip to content

Commit

Permalink
Use cp instead of rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 committed Sep 19, 2023
1 parent 84e729f commit 2998c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export async function prepareParcelWatcherPrebuildsPackages() {
force: true,
recursive: true,
});
await rename(dir, hackoladeScopedPkgPath);
await cp(dir, hackoladeScopedPkgPath, {recursive: true, force: true});

// Tweak package.json to remove useless information
const pkgRaw = await readFile(
Expand Down

0 comments on commit 2998c6d

Please sign in to comment.