Skip to content

Commit 1f73009

Browse files
Update packages/blocks/terraform/src/lib/hcledit-cli.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 86d0274 commit 1f73009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/blocks/terraform/src/lib/hcledit-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const SAFE_IDENTIFIER_PATTERN = /^[a-zA-Z0-9_-]+$/;
1212
function validateIdentifier(value: string, fieldName: string): void {
1313
if (!value || !SAFE_IDENTIFIER_PATTERN.test(value)) {
1414
throw new Error(
15-
`${fieldName} contains invalid characters. Only alphanumeric, underscore, and hyphen are allowed. Received: ${value}`,
15+
`${fieldName} contains invalid characters. Only alphanumeric, underscore, and hyphen are allowed.`,
1616
);
1717
}
1818
}

0 commit comments

Comments
 (0)