Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirs0ri committed Apr 14, 2022
1 parent 14cea10 commit 611b4d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ async function main() {
}
if (options.bearer) {
parserOptions.headers = new Headers();
parserOptions.headers.set(
"Authorization",
`Bearer ${options.bearer}`
);
parserOptions.headers.set("Authorization", `Bearer ${options.bearer}`);
}
switch (options.format) {
case "swagger": // deprecated
Expand Down

0 comments on commit 611b4d6

Please sign in to comment.