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 ea16ef4 commit 43c8d26
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 @@ -529,11 +529,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 43c8d26

Please sign in to comment.