Skip to content

Commit e43eda9

Browse files
committed
update color
1 parent 036f94e commit e43eda9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

packages/aws-cdk/lib/legacy-exports.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,19 @@ if (!process.env.CDK_DISABLE_LEGACY_EXPORT_WARNING) {
9191
// eslint-disable-next-line no-console
9292
console.warn([
9393
'',
94-
'\x1b[43m\x1b[30m █████████████████████████████████████████████████████████████████████████ \x1b[0m',
95-
'\x1b[43m\x1b[30m █ █ \x1b[0m',
96-
'\x1b[43m\x1b[30m █ ⚠ WARNING: You are using LEGACY EXPORTS from the aws-cdk package! █ \x1b[0m',
97-
'\x1b[43m\x1b[30m █ █ \x1b[0m',
98-
'\x1b[43m\x1b[30m █ These exports were never officially supported and will be removed █ \x1b[0m',
99-
'\x1b[43m\x1b[30m █ after 2026-03-01. █ \x1b[0m',
100-
'\x1b[43m\x1b[30m █ Please migrate to using the official CDK Toolkit Library instead: █ \x1b[0m',
101-
'\x1b[43m\x1b[30m █ https://docs.aws.amazon.com/cdk/api/toolkit-lib/ █ \x1b[0m',
102-
'\x1b[43m\x1b[30m █ █ \x1b[0m',
103-
'\x1b[43m\x1b[30m █ For more information: https://github.com/aws/aws-cdk-cli/issues/310 █ \x1b[0m',
104-
'\x1b[43m\x1b[30m █ To disable this warning: CDK_DISABLE_LEGACY_EXPORT_WARNING=1 █ \x1b[0m',
105-
'\x1b[43m\x1b[30m █ █ \x1b[0m',
106-
'\x1b[43m\x1b[30m █████████████████████████████████████████████████████████████████████████ \x1b[0m',
94+
'\x1b[33m█████████████████████████████████████████████████████████████████████████\x1b[0m',
95+
'\x1b[33m█ █\x1b[0m',
96+
'\x1b[33m█ ⚠ WARNING: You are using LEGACY EXPORTS from the aws-cdk package! █\x1b[0m',
97+
'\x1b[33m█ █\x1b[0m',
98+
'\x1b[33m█ These exports were never officially supported and will be removed █\x1b[0m',
99+
'\x1b[33m█ after 2026-03-01. █\x1b[0m',
100+
'\x1b[33m█ Please migrate to using the official CDK Toolkit Library instead: █\x1b[0m',
101+
'\x1b[33m█ https://docs.aws.amazon.com/cdk/api/toolkit-lib/ █\x1b[0m',
102+
'\x1b[33m█ █\x1b[0m',
103+
'\x1b[33m█ For more information: https://github.com/aws/aws-cdk-cli/issues/310 █\x1b[0m',
104+
'\x1b[33m█ To disable this warning: CDK_DISABLE_LEGACY_EXPORT_WARNING=1 █\x1b[0m',
105+
'\x1b[33m█ █\x1b[0m',
106+
'\x1b[33m█████████████████████████████████████████████████████████████████████████\x1b[0m',
107107
'',
108108
].join('\n'));
109109
}

0 commit comments

Comments
 (0)