mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-05 22:47:06 +00:00
chore: modify object custom-tag check
This commit is contained in:
parent
415aa894b2
commit
dd34ee9442
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ export function parseAndValidateCustomTags(customTags: string, existingTags: Tag
|
|||
const newTags: Tag[] = [];
|
||||
|
||||
for (const [key, value] of Object.entries(parsed)) {
|
||||
if (typeof value === 'object' && value !== null) {
|
||||
if (typeof value === 'object') {
|
||||
throw new Error(
|
||||
`custom-tags: value for key '${key}' must be a string, number, or boolean (not an object or array)`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue