Commit 5631014
authored
fix(cli): cannot set
In [v2.172.0](https://github.com/aws/aws-cdk/releases/tag/v2.172.0) (via
aws/aws-cdk@069b72c)
we accidentally broke the "bar" stack activity progress output mode (*).
Turns out no-one noticed.
In
[v2.1002.0](https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1002.0)
(via
0d9912f)
this got unintentionally fixed and the `--progress` was honored again.
However the accidental fix didn't consider options set by app or user
configuration. Again noone really noticed, until this week a user
alerted my to the issue on the cdk.dev Slack.
This PR fixes `progress` set via app or user configuration.
(*) This line is the culprit:
aws/aws-cdk@069b72c#diff-d03bd87f399ba5824d5442aa691df8b6f08f4f8a3848cfc8492c3d52fab5e48bR105
Previously "default" verbosity was a `0`, which meant `verbose = 0` and
later on `!verbose` would turn into `true`.
The change caused `verbose` to be a value different than `0` and thus
turning `!verbose` to be `false` and the code would always assume we are
in verbose logging mode and must use the "events" progress.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 licenseprogress via app or user configuration (#231)1 parent 3791941 commit 5631014
File tree
2 files changed
+41
-1
lines changed- packages/aws-cdk
- lib/cli
- test/cli
2 files changed
+41
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
297 | 302 | | |
298 | 303 | | |
299 | 304 | | |
| |||
760 | 765 | | |
761 | 766 | | |
762 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
763 | 773 | | |
764 | 774 | | |
765 | 775 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
615 | 616 | | |
616 | 617 | | |
617 | 618 | | |
618 | | - | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1012 | 1042 | | |
1013 | 1043 | | |
1014 | 1044 | | |
| |||
0 commit comments