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 4, 2023
1 parent d261078 commit 2ada086
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 @@ -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;
}
}
Expand Down

0 comments on commit 2ada086

Please sign in to comment.