We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1939bba commit 5a2016bCopy full SHA for 5a2016b
lib/msal-common/src/request/ScopeSet.ts
@@ -31,9 +31,7 @@ export class ScopeSet {
31
this.scopesRequired = scopesRequired;
32
33
// Filter empty string and null/undefined array items
34
- const filteredInput = (inputScopes)
35
- ? StringUtils.removeEmptyStringsFromArray(inputScopes)
36
- : inputScopes;
+ const filteredInput = inputScopes && StringUtils.removeEmptyStringsFromArray(inputScopes);
37
38
// Validate and filter scopes (validate function throws if validation fails)
39
this.validateInputScopes(filteredInput);
0 commit comments