Skip to content

Commit

Permalink
Removed a redundandt empty check
Browse files Browse the repository at this point in the history
  • Loading branch information
bisand committed Oct 6, 2022
1 parent 11b52a6 commit 554f6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuthDigest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class AuthDigest {
if (!wwwAuthHeader)
return;

const authSplit = wwwAuthHeader?.split(",") as string[];
const authSplit = wwwAuthHeader.split(",") as string[];

for (const item of authSplit) {
if (item && item.indexOf("realm=") >= 0) {
Expand Down

0 comments on commit 554f6f8

Please sign in to comment.