Skip to content

CLI: --no-notices won't supress call to https://cli.cdk.dev-tools.aws.dev/notices.json #370

@jaecktec

Description

@jaecktec

Describe the bug

the --no-notices parameter does not supress the call to https://cli.cdk.dev-tools.aws.dev/notices.json

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

aws/aws-cdk#19357

Expected Behavior

When --no-notices is passed there will be no call to /notices.json

Current Behavior

synth with --no-notices calls https://cli.cdk.dev-tools.aws.dev/notices.json

Reproduction Steps

CDK_HOME=$(mktemp -d) NODE_DEBUG=http npx cdk synth --no-notices

Possible Solution

when notices is supressed also don't call the notices endpoint

Additional Information/Context

No response

CDK CLI Version

2.1007.0 (build d3f6c3c)

Framework Version

No response

Node.js Version

v22.13.0

OS

macos - 15.4

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions