Skip to content

Conversation

@otaviomacedo
Copy link
Contributor

At some point, the positional argument was lost, and there were no tests for it.

Add it to cli-config.ts.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@@ -0,0 +1,26 @@
const cdk = require('aws-cdk-lib');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a new app, to avoid cluttering the existing one, used for other refactoring scenarios.

desc: 'Whether to do the refactor without asking for confirmation',
},
},
arg: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix. The rest follows from it.

@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.79%. Comparing base (b45b1ab) to head (32910b3).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #846      +/-   ##
==========================================
+ Coverage   82.69%   83.79%   +1.09%     
==========================================
  Files          65       65              
  Lines        9554     9558       +4     
  Branches     1122     1140      +18     
==========================================
+ Hits         7901     8009     +108     
+ Misses       1630     1525     -105     
- Partials       23       24       +1     
Flag Coverage Δ
suite.unit 83.79% <100.00%> (+1.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Sep 12, 2025
Merged via the queue into main with commit b2ced3d Sep 12, 2025
33 checks passed
@aws-cdk-automation aws-cdk-automation deleted the otaviom/stacks-arg branch September 12, 2025 10:05
iankhou pushed a commit that referenced this pull request Oct 7, 2025
At some point, the positional argument was lost, and there were no tests
for it.

Add it to `cli-config.ts`.

---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants