Skip to content

Commit

Permalink
chore: prevent install two linux bindings (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 authored Nov 30, 2023
1 parent 04a1233 commit 0ed90b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/src/runners/yarn-install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ const getInstallSize = async (casePath: string) => {
await remove(join(nodeModulesPath, '.modern.js'));
}

// prevent install two linux bindings
await remove(join(nodeModulesPath, '@rspack/binding-linux-x64-musl'));

return new Promise<number>((resolve, reject) => {
getFolderSize(nodeModulesPath, (err: Error, size: number) => {
if (err) {
Expand Down

0 comments on commit 0ed90b2

Please sign in to comment.