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: premature return when toType=true and multiple replacements exist #3548

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alec404
Copy link

@alec404 alec404 commented Feb 11, 2025

Description (What this PR does / Why we need it)

This PR fixes an issue where the expand function would return prematurely when toType=true and multiple ${VAR} placeholders exist in the input string.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 11, 2025
shenqidebaozi
shenqidebaozi previously approved these changes Mar 14, 2025
@dosubot dosubot bot added the LGTM label Mar 14, 2025
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Mar 15, 2025
@alec404 alec404 force-pushed the fix/expand-multiple-replacements branch from 0f33de0 to 48acfbe Compare March 15, 2025 04:05
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants