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 3, 2023
1 parent 7a0bd02 commit 39feb81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/binding-http/src/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,6 @@ export default class HttpServer implements ProtocolServer {
}

private fillSecurityScheme(thing: ExposedThing) {
const security = thing.security;
if (typeof security === "string") {
thing.security = [security];
}

// User selected one security scheme
if (thing.security.length > 0) {
// multiple security schemes are deprecated we are not supporting them
Expand Down

0 comments on commit 39feb81

Please sign in to comment.