pi-gsd 1.11.2 → 1.11.3
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.
|
@@ -95,7 +95,8 @@ export default function (pi: ExtensionAPI) {
|
|
|
95
95
|
|
|
96
96
|
// Fallback lookup: package harness root via this extension file's location
|
|
97
97
|
// <pkg>/.gsd/extensions/pi-gsd-hooks.ts → <pkg>/.gsd/harnesses/pi/get-shit-done
|
|
98
|
-
const
|
|
98
|
+
const extFile = typeof __filename !== "undefined" ? __filename : "";
|
|
99
|
+
const pkgHarness = extFile ? join(dirname(extFile), "..", "harnesses", "pi", "get-shit-done") : "";
|
|
99
100
|
|
|
100
101
|
const failed: string[] = [];
|
|
101
102
|
let transformed = text;
|