@mutmutco/hub 4.5.149 → 4.5.151
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.cjs +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2933,7 +2933,9 @@ function hermesHomes(env = process.env) {
|
|
|
2933
2933
|
const homes = [root];
|
|
2934
2934
|
try {
|
|
2935
2935
|
for (const entry of (0, import_node_fs17.readdirSync)((0, import_node_path12.join)(root, "profiles"), { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name))) {
|
|
2936
|
-
if (entry.isDirectory()
|
|
2936
|
+
if (!entry.isDirectory() || entry.name.startsWith(".")) continue;
|
|
2937
|
+
const candidate = (0, import_node_path12.join)(root, "profiles", entry.name);
|
|
2938
|
+
if ((0, import_node_fs17.existsSync)((0, import_node_path12.join)(candidate, "config.yaml"))) homes.push(candidate);
|
|
2937
2939
|
}
|
|
2938
2940
|
} catch {
|
|
2939
2941
|
}
|
package/package.json
CHANGED