From 99c10828209b93b42d07f6257c18d930f22750aa Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Tue, 3 Oct 2023 11:55:52 +0200 Subject: [PATCH] fixup! chore(binding-http): enable eslint/strict-boolean-expressions --- packages/binding-http/src/http-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/binding-http/src/http-server.ts b/packages/binding-http/src/http-server.ts index e5f9a4dea..c1730b44d 100644 --- a/packages/binding-http/src/http-server.ts +++ b/packages/binding-http/src/http-server.ts @@ -338,12 +338,12 @@ export default class HttpServer implements ProtocolServer { for (const property of properties) { const readOnly: boolean = property.readOnly ?? false; - if (readOnly) { + if (!readOnly) { allReadOnly = false; } const writeOnly: boolean = property.writeOnly ?? false; - if (writeOnly) { + if (!writeOnly) { allWriteOnly = false; } }