@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.
Files changed (2) hide show
  1. package/dist/index.cjs +3 -1
  2. 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() && !entry.name.startsWith(".")) homes.push((0, import_node_path12.join)(root, "profiles", entry.name));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/hub",
3
- "version": "4.5.149",
3
+ "version": "4.5.151",
4
4
  "description": "Install and maintain the MMI CLI and every present host surface from one release-gated Hub command.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",