Lightpanda: the headless browser designed for AI and automation
`Updater.inform`: flush no matter the result
Halil Durak847c28657df1
diff --git a/src/Updater.zig b/src/Updater.zigindex 90d9b54d8..213ee87cc 100644--- a/src/Updater.zig+++ b/src/Updater.zig@@ -110,14 +110,6 @@ pub fn inform(self: *Updater, writer: *std.Io.Writer) !void {ctx.err catch |ctx_err| return ctx_err;return err;};- const status: std.http.Status = @enumFromInt(status_int);- return switch (status) {- // We expect any of those.- .ok,- .bad_request,- .internal_server_error,- .service_unavailable,- => writer.flush(),- else => error.UnexpectedStatus,- };+ _ = status_int;+ return writer.flush();}