git-sqlite-vfs 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +1 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -29,7 +29,7 @@ function buildFromSource() {
|
|
|
29
29
|
function downloadAndExtract() {
|
|
30
30
|
// If the SKIP_DOWNLOAD env var is set, or if we are building locally from the repo root
|
|
31
31
|
// we should just build from source.
|
|
32
|
-
if (process.env.SKIP_DOWNLOAD || !
|
|
32
|
+
if (process.env.SKIP_DOWNLOAD || !__dirname.includes('node_modules')) {
|
|
33
33
|
return buildFromSource();
|
|
34
34
|
}
|
|
35
35
|
|