drop utf-8 bom log message to info

pull/9497/head
Jeffrey C. Ollie 2025-11-06 11:00:38 -06:00
parent c8e317b60f
commit df86e30877
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
1 changed files with 1 additions and 1 deletions

View File

@ -3471,7 +3471,7 @@ fn loadReader(self: *Config, alloc: Allocator, reader: *std.Io.Reader, path: []c
const bom: []const u8 = &.{ 0xef, 0xbb, 0xbf }; const bom: []const u8 = &.{ 0xef, 0xbb, 0xbf };
const str = reader.peek(bom.len) catch break :bom; const str = reader.peek(bom.len) catch break :bom;
if (std.mem.eql(u8, str, bom)) { if (std.mem.eql(u8, str, bom)) {
log.warn("skipping UTF-8 byte order mark", .{}); log.info("skipping UTF-8 byte order mark", .{});
reader.toss(bom.len); reader.toss(bom.len);
} }
} }