Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parse new answer when --skip-answered is used #1739

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

sisp
Copy link
Member

@sisp sisp commented Aug 20, 2024

I've fixed a bug where a recopy/update with -A, --skip-answered did not parse a new answer passed via -d, --data. The solution was simple: Skipping a question because of -A, --skip-answered needs to happen after parsing a new answer via -d, --data takes place, so that using the new answer takes precedence over skipping it.

Fixes #1728.

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.64%. Comparing base (ae63d30) to head (a419368).
Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1739      +/-   ##
==========================================
- Coverage   97.75%   97.64%   -0.11%     
==========================================
  Files          49       49              
  Lines        5068     5096      +28     
==========================================
+ Hits         4954     4976      +22     
- Misses        114      120       +6     
Flag Coverage Δ
unittests 97.64% <100.00%> (-0.11%) ⬇️

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.

@sisp sisp force-pushed the fix/skip-answered-parse-answer branch from fcb4031 to a419368 Compare September 3, 2024 19:47
@sisp sisp requested a review from yajo September 3, 2024 20:31
Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

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

Thanks !

@yajo yajo merged commit 04dc881 into copier-org:master Sep 21, 2024
21 of 22 checks passed
@sisp sisp deleted the fix/skip-answered-parse-answer branch September 21, 2024 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bool argument is handled as string in 'recopy' operation
2 participants