Skip to content

Commit

Permalink
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Oct 12, 2023
1 parent 43c8d26 commit 99c1082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/binding-http/src/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 99c1082

Please sign in to comment.