Skip to content

Commit 000bcde

Browse files
authored
Merge pull request #4105 from BuckleScript/continue_support_custom_refmt
restore customize refmt
2 parents 15cf202 + 051449b commit 000bcde

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jscomp/bsb/bsb_ninja_rule.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ let make_custom_rules
155155
(match refmt with
156156
| None -> ()
157157
| Some x ->
158-
Buffer.add_string buf " -refmt ";
158+
Buffer.add_string buf " -bs-refmt ";
159159
Buffer.add_string buf (Ext_filename.maybe_quote x);
160160
);
161161
if has_pp then

lib/4.06.1/bsb.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12648,7 +12648,7 @@ let make_custom_rules
1264812648
(match refmt with
1264912649
| None -> ()
1265012650
| Some x ->
12651-
Buffer.add_string buf " -refmt ";
12651+
Buffer.add_string buf " -bs-refmt ";
1265212652
Buffer.add_string buf (Ext_filename.maybe_quote x);
1265312653
);
1265412654
if has_pp then

lib/4.06.1/unstable/bsb_native.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12755,7 +12755,7 @@ let make_custom_rules
1275512755
(match refmt with
1275612756
| None -> ()
1275712757
| Some x ->
12758-
Buffer.add_string buf " -refmt ";
12758+
Buffer.add_string buf " -bs-refmt ";
1275912759
Buffer.add_string buf (Ext_filename.maybe_quote x);
1276012760
);
1276112761
if has_pp then

0 commit comments

Comments
 (0)