@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 +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/providers/provider-loader.ts +5 -4
package/package.json
CHANGED
|
@@ -131,11 +131,12 @@ export class ProviderLoader {
|
|
|
131
131
|
return this.getProviderDir(this.upstreamDir, category, type);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
/**
|
|
135
|
+
* Canonical builtin directory for a provider.
|
|
136
|
+
*/
|
|
137
137
|
getBuiltinProviderDir(category: ProviderCategory, type: string): string {
|
|
138
|
-
|
|
138
|
+
const builtinRoot = this.getPrimaryBuiltinDir();
|
|
139
|
+
return builtinRoot ? this.getProviderDir(builtinRoot, category, type) : '';
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
/**
|