fix: stabilize ci checks
This commit is contained in:
1 parent
2f6b5ffdfe
commit
d9384785a3
35 files changed
+197
-268
No files matched your search
@@ -28,10 +28,9 @@ export const normalizeAllowFromWithStore = (params: {
|
||||
allowFrom?: Array<string | number>;
|
||||
storeAllowFrom?: string[];
|
||||
}): NormalizedAllowFrom => {
|
||||
const combined = [
|
||||
...(params.allowFrom ?? []),
|
||||
...(params.storeAllowFrom ?? []),
|
||||
].map((value) => String(value).trim()).filter(Boolean);
|
||||
const combined = [...(params.allowFrom ?? []), ...(params.storeAllowFrom ?? [])]
|
||||
.map((value) => String(value).trim())
|
||||
.filter(Boolean);
|
||||
return normalizeAllowFrom(combined);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user