You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: cdk flags hint is shown before template payload (#785)
When a user runs `cdk synth`, they receive a message about their
unconfigured feature flags. This relocates the message to be displayed
after the CloudFormation templates, to make it more visible.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license
awaitioHelper.defaults.info(`You currently have ${numUnconfigured} unconfigured feature flags that may require attention to keep your application up-to-date. Run 'cdk flags' to learn more.`);
2121
+
process.stderr.write(`You currently have ${numUnconfigured} unconfigured feature flag(s) that may require attention to keep your application up-to-date. Run 'cdk flags' to learn more.`);
message: 'You currently have 1 unconfigured feature flags that may require attention to keep your application up-to-date. Run \'cdk flags\' to learn more.',
61
-
level: 'info',
62
-
}),
54
+
expect(stderrWriteSpy).toHaveBeenCalledWith(
55
+
'You currently have 1 unconfigured feature flag(s) that may require attention to keep your application up-to-date. Run \'cdk flags\' to learn more.',
63
56
);
64
57
});
65
58
test('does not display a message when user has no unconfigured flags',async()=>{
0 commit comments