@chamba/core 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.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1192,6 +1192,7 @@ var WorkspaceScanner = class {
|
|
|
1192
1192
|
} catch {
|
|
1193
1193
|
return;
|
|
1194
1194
|
}
|
|
1195
|
+
if (depth > 0 && entries.some((e) => e.name === ".git" && e.isFile)) return;
|
|
1195
1196
|
for (const entry of entries) {
|
|
1196
1197
|
const childRel = rel.length > 0 ? `${rel}/${entry.name}` : entry.name;
|
|
1197
1198
|
if (isIgnored(rules, childRel, entry.isDirectory)) continue;
|
package/package.json
CHANGED