omnirush 0.8.2 → 0.8.3
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.
|
@@ -1765,6 +1765,9 @@ async function walkFallback(root: string, directory = root, rules: string[] = []
|
|
|
1765
1765
|
} catch {
|
|
1766
1766
|
return listing;
|
|
1767
1767
|
}
|
|
1768
|
+
// Filesystem enumeration order is not stable across platforms. Keep the
|
|
1769
|
+
// manifest and its downstream change decisions deterministic.
|
|
1770
|
+
entries.sort((left, right) => left.name.localeCompare(right.name));
|
|
1768
1771
|
for (const entry of entries) {
|
|
1769
1772
|
if (listing.paths.length >= MAX_FILES) break;
|
|
1770
1773
|
const fullPath = resolve(directory, entry.name);
|
|
@@ -1790,6 +1793,7 @@ function filterListing(candidates: string[]): WorkspaceListing {
|
|
|
1790
1793
|
if (isCollectorPathDenied(path)) listing.denied += 1;
|
|
1791
1794
|
else if (listing.paths.length < MAX_FILES) listing.paths.push(path);
|
|
1792
1795
|
}
|
|
1796
|
+
listing.paths.sort((left, right) => left.localeCompare(right));
|
|
1793
1797
|
return listing;
|
|
1794
1798
|
}
|
|
1795
1799
|
|