From 51c2dbf17a475e4abae0619621eb08a1d8441fca Mon Sep 17 00:00:00 2001 From: Loris Cro Date: Wed, 24 Jul 2024 16:52:37 +0200 Subject: [PATCH] consolidate .shtml as the correct file extension for super templates --- src/cli/fmt.zig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cli/fmt.zig b/src/cli/fmt.zig index bff0e11..3ef2b68 100644 --- a/src/cli/fmt.zig +++ b/src/cli/fmt.zig @@ -120,9 +120,7 @@ fn formatFile( break :blk .html; } - if (std.mem.eql(u8, ext, ".shtml") or - std.mem.eql(u8, ext, ".super")) - { + if (std.mem.eql(u8, ext, ".shtml")) { break :blk .super; } return; @@ -291,7 +289,7 @@ const Command = struct { \\ \\ Detected extensions: \\ HTML .html, .htm - \\ SuperHTML .shtml, .super + \\ SuperHTML .shtml \\ \\Options: \\