Skip to content

Commit 68f2cb5

Browse files
committed
comments
1 parent 5844389 commit 68f2cb5

File tree

1 file changed

+2
-2
lines changed
  • packages/aws-cdk-lib/core/lib/stack-synthesizers

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/core/lib/stack-synthesizers/_shared.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ function collectStackMetadata(stack: Stack) {
102102
// Make the path absolute
103103
output[Node.PATH_SEP + node.node.path] = node.node.metadata.map(md => {
104104
// If Annotations include a token, the message is resolved and output as `[object Object]` after synth
105-
// because the message will be object type using 'Fn::Join'.
105+
// because the message will be object type using 'Ref' or 'Fn::Join'.
106106
// It would be easier for users to understand if the message from Annotations were output in token form,
107-
// rather than in `[object Object]` or in object type using 'Fn::Join'.
107+
// rather than in `[object Object]` or the object type.
108108
// Therefore, we don't resolve the message if it's from Annotations.
109109
if ([
110110
cxschema.ArtifactMetadataEntryType.ERROR,

0 commit comments

Comments
 (0)