attempt to fix failing test on windows in ci build

This commit is contained in:
Smartsheet-JB-Brown 2025-04-17 21:47:50 -07:00
parent c0f615bca7
commit 9e2476c667

View file

@ -97,8 +97,8 @@ export class MetadataScanner {
}
}
// Recursively scan subdirectories
if (!localizedMetadata || !this.isPackageMetadata(localizedMetadata)) {
// Only scan subdirectories if no metadata was found
if (!localizedMetadata) {
const subGenerator = this.scanDirectoryBatched(componentDir, repoUrl, sourceName, depth + 1)
for await (const subBatch of subGenerator) {
batch.push(...subBatch)