@triclaps/cli 0.0.8 → 0.0.9
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/index.js +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -282,6 +282,12 @@ function resolveAdapterPath(env = process.env) {
|
|
|
282
282
|
if (override) {
|
|
283
283
|
return path4.resolve(override);
|
|
284
284
|
}
|
|
285
|
+
const inPackage = fileURLToPath2(
|
|
286
|
+
new URL("./adapters/hermes_claps_adapter.py", import.meta.url)
|
|
287
|
+
);
|
|
288
|
+
if (existsSync2(inPackage)) {
|
|
289
|
+
return inPackage;
|
|
290
|
+
}
|
|
285
291
|
return fileURLToPath2(
|
|
286
292
|
new URL("../../adapters/hermes_claps_adapter.py", import.meta.url)
|
|
287
293
|
);
|