diff options
author | Elizabeth Hunt <lizhunt@amazon.com> | 2025-05-12 19:46:51 -0700 |
---|---|---|
committer | Elizabeth Hunt <lizhunt@amazon.com> | 2025-05-12 19:50:40 -0700 |
commit | bbaea13ee7125a9d289a74f0c173e7e75177e53c (patch) | |
tree | f4775a1699e2158a5e6313f3e5d639c4c3740c7b /utils/validate_identifier.ts | |
parent | 723fa00cb14513eb1a517728d4464c4f148a29cc (diff) | |
download | ci-bbaea13ee7125a9d289a74f0c173e7e75177e53c.tar.gz ci-bbaea13ee7125a9d289a74f0c173e7e75177e53c.zip |
updates!!
Diffstat (limited to 'utils/validate_identifier.ts')
-rw-r--r-- | utils/validate_identifier.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/validate_identifier.ts b/utils/validate_identifier.ts index c204497..e2a1dc5 100644 --- a/utils/validate_identifier.ts +++ b/utils/validate_identifier.ts @@ -3,8 +3,8 @@ export const validateIdentifier = (token: string) => { }; export const invalidExecutionEntriesOf = ( - obj: Record<string, string>, -): Array<[string, string]> => { + obj: Record<string, unknown>, +): Array<[string, unknown]> => { return Object.entries(obj).filter((e) => !e.every((x) => typeof x === "string" && validateIdentifier(x)) ); |