@adhdev/daemon-core 0.6.60 → 0.6.62

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.d.ts CHANGED
@@ -1015,8 +1015,8 @@ declare class ProviderLoader {
1015
1015
  */
1016
1016
  getUpstreamProviderDir(category: ProviderCategory, type: string): string;
1017
1017
  /**
1018
- * Canonical builtin directory for a provider.
1019
- */
1018
+ * Canonical builtin directory for a provider.
1019
+ */
1020
1020
  getBuiltinProviderDir(category: ProviderCategory, type: string): string;
1021
1021
  /**
1022
1022
  * Find the on-disk directory for a provider by type.
package/dist/index.js CHANGED
@@ -6349,10 +6349,11 @@ var ProviderLoader = class _ProviderLoader {
6349
6349
  return this.getProviderDir(this.upstreamDir, category, type);
6350
6350
  }
6351
6351
  /**
6352
- * Canonical builtin directory for a provider.
6353
- */
6352
+ * Canonical builtin directory for a provider.
6353
+ */
6354
6354
  getBuiltinProviderDir(category, type) {
6355
- return this.getProviderDir(this.getPrimaryBuiltinDir(), category, type);
6355
+ const builtinRoot = this.getPrimaryBuiltinDir();
6356
+ return builtinRoot ? this.getProviderDir(builtinRoot, category, type) : "";
6356
6357
  }
6357
6358
  /**
6358
6359
  * Find the on-disk directory for a provider by type.