vibecop 0.4.1 → 0.4.2
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/cli.js +6 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -22847,12 +22847,12 @@ import { execSync } from "node:child_process";
|
|
|
22847
22847
|
import { existsSync as existsSync6, mkdirSync, readFileSync as readFileSync7, writeFileSync } from "node:fs";
|
|
22848
22848
|
import { join as join7 } from "node:path";
|
|
22849
22849
|
function resolveContextScript() {
|
|
22850
|
-
const
|
|
22851
|
-
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22850
|
+
const sibling = new URL("./context.js", import.meta.url);
|
|
22851
|
+
if (existsSync6(sibling))
|
|
22852
|
+
return sibling.pathname;
|
|
22853
|
+
const fromSource = new URL("../dist/context.js", import.meta.url);
|
|
22854
|
+
if (existsSync6(fromSource))
|
|
22855
|
+
return fromSource.pathname;
|
|
22856
22856
|
const { resolve: resolve4 } = __require("node:path");
|
|
22857
22857
|
return resolve4("dist/context.js");
|
|
22858
22858
|
}
|