@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.
@@ -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("cargo", ["run", "--manifest-path", path4.join(toolsDir, "Cargo.toml")], {
1619
- cwd: process.cwd(),
1620
- stdio: ["pipe", "pipe", "pipe"],
1621
- windowsHide: true
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();