mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
5aa7fe1b12
Fixes #21420
800 B
800 B
Input
Command
oxfmt
File tree
- fixtures/
- .oxfmtrc.json
- root.js
- sibling-a/
- .oxfmtrc.json
- a.js
- sibling-b/
- b.js
- oxfmt.config.ts
- sub/ <CWD>
- .oxfmtrc.json
- deep/
- .oxfmtrc.json
- deep.js
- nested.js
Result
Exit code
0
stdout
Finished in <time> on 4 files using 1 threads.
stderr
File changes
sub/deep/deep.js
@@ -1,1 +1,5 @@
-function foo() { if (true) { console.log("hello"); } }
+function foo() {
+ if (true) {
+ console.log("hello");
+ }
+}
sub/nested.js
@@ -1,1 +1,5 @@
-function foo() { if (true) { console.log("hello"); } }
+function foo() {
+ if (true) {
+ console.log("hello");
+ }
+}