view-ignored 0.2.0 → 0.2.1

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.
@@ -86,7 +86,9 @@ export class SourceInfo {
86
86
  }
87
87
  return scan ? scan?.(path) : true;
88
88
  });
89
- return closestPath;
89
+ if (closestPath) {
90
+ return closestPath;
91
+ }
90
92
  }
91
93
  }
92
94
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "view-ignored",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Retrieve list of files ignored/included by Git, NPM, Yarn and VSC Extension.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "author": "Mopsgamer",
24
24
  "license": "ISC",
25
- "main": "./lib/src/index.js",
25
+ "main": "./out/src/index.js",
26
26
  "files": [
27
27
  "out/src"
28
28
  ],
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "github": {
47
47
  "release": true,
48
- "draft": true,
48
+ "draft": false,
49
49
  "releaseName": "${version}"
50
50
  },
51
51
  "npm": {