Skip to content

Commit 123c594

Browse files
Elad Ben-Israelmergify[bot]
authored andcommitted
fix(cli): remove warning about assets not included in diff (#4454)
Since source hash is now used to identify assets, if an asset changes, the diff will show it (yey!). Resolves #395
1 parent 1958f26 commit 123c594

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/aws-cdk/lib/diff.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ export function printStackDiff(
2121
context: number,
2222
stream?: FormatStream): number {
2323

24-
if (newTemplate.assets.length > 0) {
25-
const issue = 'https://github.com/aws/aws-cdk/issues/395';
26-
warning(`The ${newTemplate.name} stack uses assets, which are currently not accounted for in the diff output! See ${issue}`);
27-
}
28-
2924
const diff = cfnDiff.diffTemplate(oldTemplate, newTemplate.template);
3025

3126
// filter out 'AWS::CDK::Metadata' resources from the template

0 commit comments

Comments
 (0)