@wasm-fmt/clang-format 18.1.5 → 18.1.6
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/clang-format-cli.js +3 -3
- package/clang-format.wasm +0 -0
- package/package.json +1 -1
package/clang-format-cli.js
CHANGED
|
@@ -204,7 +204,7 @@ if (!empty(values.lines)) {
|
|
|
204
204
|
await writeFile(file, formatted, { encoding: "utf-8" });
|
|
205
205
|
}
|
|
206
206
|
} else {
|
|
207
|
-
|
|
207
|
+
process.stdout.write(formatted);
|
|
208
208
|
}
|
|
209
209
|
process.exit(0);
|
|
210
210
|
}
|
|
@@ -256,7 +256,7 @@ format_range: {
|
|
|
256
256
|
await writeFile(file, formatted, { encoding: "utf-8" });
|
|
257
257
|
}
|
|
258
258
|
} else {
|
|
259
|
-
|
|
259
|
+
process.stdout.write(formatted);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
process.exit(0);
|
|
@@ -275,7 +275,7 @@ for (const [file_no, file] of fileNames.entries()) {
|
|
|
275
275
|
await writeFile(file, formatted, { encoding: "utf-8" });
|
|
276
276
|
}
|
|
277
277
|
} else {
|
|
278
|
-
|
|
278
|
+
process.stdout.write(formatted);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
|
package/clang-format.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED