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 Sep 22, 2023
1 parent 98d4211 commit 236e1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-http/src/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export default class HttpServer implements ProtocolServer {
"writemultipleproperties",
];
}
if (!thing.forms) {
if (thing.forms == null) {
thing.forms = [];
}
thing.forms.push(form);
Expand Down

0 comments on commit 236e1ca

Please sign in to comment.