We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2970b commit 3379069Copy full SHA for 3379069
crates/node/scripts/install.js
@@ -124,6 +124,11 @@ async function downloadAndExtractBinary(packageName) {
124
}
125
126
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
+
132
const packageName = getPlatformPackageName()
133
if (!packageName) return
134
if (isPackageAvailable(packageName)) return
0 commit comments