From e1d7c40b096c3994e55a1fe60cc247fcfbaaeb1f 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 87629068b..0c115de18 100644 --- a/packages/binding-http/src/http-server.ts +++ b/packages/binding-http/src/http-server.ts @@ -340,12 +340,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; } }