@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.
@@ -1572,11 +1572,15 @@ async function tryNativeParse(file, content) {
1572
1572
  const crateDir = path4.join(toolsDir, "syn-parser");
1573
1573
  const tmpFile = path4.join(crateDir, "src", "input.rs");
1574
1574
  await fs6.writeFile(tmpFile, content, "utf8");
1575
- const proc = spawn("cargo", ["run", "--manifest-path", path4.join(toolsDir, "Cargo.toml")], {
1576
- cwd: process.cwd(),
1577
- stdio: ["pipe", "pipe", "pipe"],
1578
- windowsHide: true
1579
- });
1575
+ const proc = spawn(
1576
+ "cargo",
1577
+ ["run", "--manifest-path", path4.join(toolsDir, "Cargo.toml")],
1578
+ {
1579
+ cwd: process.cwd(),
1580
+ stdio: ["pipe", "pipe", "pipe"],
1581
+ windowsHide: true
1582
+ }
1583
+ );
1580
1584
  let stdout = "";
1581
1585
  proc.stdout?.on("data", (chunk) => {
1582
1586
  stdout += chunk.toString();