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.
Files changed (2) hide show
  1. package/install.js +1 -1
  2. 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 || !fs.existsSync(path.join(__dirname, 'node_modules'))) {
32
+ if (process.env.SKIP_DOWNLOAD || !__dirname.includes('node_modules')) {
33
33
  return buildFromSource();
34
34
  }
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-sqlite-vfs",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A Git-Versioned SQLite Database via a Custom Virtual File System (VFS)",
5
5
  "main": "index.js",
6
6
  "scripts": {