@wrongstack/tools 0.272.1 → 0.273.0
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/bash.js +32 -10
- package/dist/bash.js.map +1 -1
- package/dist/builtin.js +55 -25
- package/dist/builtin.js.map +1 -1
- package/dist/codebase-index/index.js +9 -5
- package/dist/codebase-index/index.js.map +1 -1
- package/dist/codebase-index/worker.js +9 -5
- package/dist/codebase-index/worker.js.map +1 -1
- package/dist/index.js +49 -19
- package/dist/index.js.map +1 -1
- package/dist/pack.js +55 -25
- package/dist/pack.js.map +1 -1
- package/dist/replace.js +2 -2
- package/dist/replace.js.map +1 -1
- package/package.json +2 -2
|
@@ -1615,11 +1615,15 @@ async function tryNativeParse(file, content) {
|
|
|
1615
1615
|
const crateDir = path4.join(toolsDir, "syn-parser");
|
|
1616
1616
|
const tmpFile = path4.join(crateDir, "src", "input.rs");
|
|
1617
1617
|
await fs6.writeFile(tmpFile, content, "utf8");
|
|
1618
|
-
const proc = spawn(
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1618
|
+
const proc = spawn(
|
|
1619
|
+
"cargo",
|
|
1620
|
+
["run", "--manifest-path", path4.join(toolsDir, "Cargo.toml")],
|
|
1621
|
+
{
|
|
1622
|
+
cwd: process.cwd(),
|
|
1623
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
1624
|
+
windowsHide: true
|
|
1625
|
+
}
|
|
1626
|
+
);
|
|
1623
1627
|
let stdout = "";
|
|
1624
1628
|
proc.stdout?.on("data", (chunk) => {
|
|
1625
1629
|
stdout += chunk.toString();
|