-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
popScopesTill broken in version 8 #384
Comments
I added tests in #385 for now |
Yea, I think I fixed it. while (hasScope(scopeName) && inclusive
? (poppedScopeName != scopeName)
: (nextScopeToPop.name != scopeName)) This lead to the else branch running even if Additionally I found a secondary problem if the passed scopeName is the top scope and Changes are on the same PR. |
Fixed by #385 |
@escamoteur Can you please cut a release when you get a chance, thanks! |
Sure, I was hoping to include the latest 2 PRs one is already merged. If the other doesn't come in this afternoon I will publish it anyway
Am 28. Okt. 2024, 12:28 +0000 schrieb Peter Leibiger ***@***.***>:
… @escamoteur Can you please cut a release when you get a chance, thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
done
Nachricht von ***@***.*** am Oct 28, 2024, 1:30 PM +0100:
… Sure, I was hoping to include the latest 2 PRs one is already merged. If the other doesn't come in this afternoon I will publish it anyway
Am 28. Okt. 2024, 12:28 +0000 schrieb Peter Leibiger ***@***.***>:
> @escamoteur Can you please cut a release when you get a chance, thanks!
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks a lot! |
Hello @escamoteur
The changes in commit 7d2d4bb lead to
popScopeTill(inclusive: true)
always popping all scopes until the base scope. The while loop exit condition does not trigger wheninclusive == true
.The text was updated successfully, but these errors were encountered: