-
Notifications
You must be signed in to change notification settings - Fork 4k
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
cdk diff not picking up differences if old/new value is in format x.y.z #15935
Comments
Ok, I looked into this and the culprit is this part in the
In my case |
I think this can be handled as edge case in |
I would like to submit a PR for this. Should be finished tomorrow. |
…new value is in format n.n.n (#16050) "cdk diff" in the current version doesn't pick up differences if the old/new value has a number-like format but actually isn't a number (e.g. 0.31.1) Example: two version strings like "0.31.1-prod" and "0.31.2-prod" are both parsed into "0.31" (and hence incorrectly considered equal). Closes #15935. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
"cdk diff" in the current version (1.117.0 / 2.0.0-rc.16) doesn't pick up differences if the old/new value has a number-like format but actually isn't a number (e.g. 0.31.1)
What did you expect to happen?
I expected the differences are picked up and shown
What actually happened?
I received "There are no differences"
Environment
The text was updated successfully, but these errors were encountered: