Skip to content

Commit 51c2dbf

Browse files
committed
consolidate .shtml as the correct file extension for super templates
1 parent 6354b53 commit 51c2dbf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cli/fmt.zig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ fn formatFile(
120120
break :blk .html;
121121
}
122122

123-
if (std.mem.eql(u8, ext, ".shtml") or
124-
std.mem.eql(u8, ext, ".super"))
125-
{
123+
if (std.mem.eql(u8, ext, ".shtml")) {
126124
break :blk .super;
127125
}
128126
return;
@@ -291,7 +289,7 @@ const Command = struct {
291289
\\
292290
\\ Detected extensions:
293291
\\ HTML .html, .htm
294-
\\ SuperHTML .shtml, .super
292+
\\ SuperHTML .shtml
295293
\\
296294
\\Options:
297295
\\

0 commit comments

Comments
 (0)