Skip to content

Commit 5a2016b

Browse files
author
sgonzalezMSFT
committed
Make lint happy
1 parent 1939bba commit 5a2016b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/msal-common/src/request/ScopeSet.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ export class ScopeSet {
3131
this.scopesRequired = scopesRequired;
3232

3333
// Filter empty string and null/undefined array items
34-
const filteredInput = (inputScopes)
35-
? StringUtils.removeEmptyStringsFromArray(inputScopes)
36-
: inputScopes;
34+
const filteredInput = inputScopes && StringUtils.removeEmptyStringsFromArray(inputScopes);
3735

3836
// Validate and filter scopes (validate function throws if validation fails)
3937
this.validateInputScopes(filteredInput);

0 commit comments

Comments
 (0)