Skip to content

Commit d4174ae

Browse files
committed
Fix issue where the toplevel command would try to format .re files.
1 parent 9b45ab2 commit d4174ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/rescript_format.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var specs = [
2424
[
2525
"-stdin",
2626
{ kind: "String", data: { kind: "String_set", data: stdin } },
27-
`[.res|.resi|.ml|.mli|.re|.rei] Read the code from stdin and print
27+
`[.res|.resi|.ml|.mli] Read the code from stdin and print
2828
the formatted code to stdout in ReScript syntax`,
2929
],
3030
// ml|mli
@@ -34,7 +34,7 @@ the formatted code to stdout in ReScript syntax`,
3434
"Format the whole project ",
3535
],
3636
];
37-
var formattedStdExtensions = [".res", ".resi", ".ml", ".mli", ".re", ".rei"];
37+
var formattedStdExtensions = [".res", ".resi", ".ml", ".mli"];
3838
var formattedFileExtensions = [".res", ".resi"];
3939

4040
/**

0 commit comments

Comments
 (0)