Fix lint, make design more consistent, add license texts,
All checks were successful
Queue Release Build / prepare (push) Successful in 11s
Deploy Web Apps / deploy (push) Successful in 14m0s
Queue Release Build / build-linux (push) Successful in 35m41s
Queue Release Build / build-windows (push) Successful in 28m53s
Queue Release Build / finalize (push) Successful in 2m6s
All checks were successful
Queue Release Build / prepare (push) Successful in 11s
Deploy Web Apps / deploy (push) Successful in 14m0s
Queue Release Build / build-linux (push) Successful in 35m41s
Queue Release Build / build-windows (push) Successful in 28m53s
Queue Release Build / finalize (push) Successful in 2m6s
This commit is contained in:
@@ -21,7 +21,11 @@ function normalizeRoleIds(roleIds: readonly string[] | undefined): string[] | un
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const normalized = Array.from(new Set(roleIds.filter((roleId): roleId is string => typeof roleId === 'string' && roleId.trim().length > 0).map((roleId) => roleId.trim())));
|
||||
const normalized = Array.from(new Set(
|
||||
roleIds
|
||||
.filter((roleId): roleId is string => typeof roleId === 'string' && roleId.trim().length > 0)
|
||||
.map((roleId) => roleId.trim())
|
||||
));
|
||||
|
||||
return normalized.length > 0 ? normalized : undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user