Skip to content

Commit 3379069

Browse files
Fix
1 parent 5d2970b commit 3379069

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/node/scripts/install.js

+5
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ async function downloadAndExtractBinary(packageName) {
124124
}
125125

126126
async function main() {
127+
// Don't run this script in the package source
128+
if (fs.existsSync(path.join(__dirname, '..', 'build.rs'))) {
129+
return
130+
}
131+
127132
const packageName = getPlatformPackageName()
128133
if (!packageName) return
129134
if (isPackageAvailable(packageName)) return

0 commit comments

Comments
 (0)