Skip to content

Commit

Permalink
fix: Remove undefined value in @azure/msal-node (#4718)
Browse files Browse the repository at this point in the history
* avoid undefined errors with msal-node

* fix lint issue
  • Loading branch information
JhontSouth authored Jul 26, 2024
1 parent 38286e6 commit 82231ca
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ export class MsalAppCredentials extends AppCredentials {
: undefined;

auth.clientSecret =
typeof maybeAppIdOrAppPasswordOrCertificate === 'string'
? maybeAppIdOrAppPasswordOrCertificate
: undefined;
typeof maybeAppIdOrAppPasswordOrCertificate === 'string' ? maybeAppIdOrAppPasswordOrCertificate : '';

this.clientApplication = new ConfidentialClientApplication({ auth });
}
Expand Down

0 comments on commit 82231ca

Please sign in to comment.