Skip to content

Conversation

asisayag2
Copy link
Contributor

The check whether we should add a version or not used the method hasVersionString which checks if it contains 'v[num]' anywhere in the string.
I changed to check startWithVersionString and now it skips the version adding, only if the publicId STARTS with 'v[num]'

…ontain a version, therefore the version is skipped.
@asisayag2 asisayag2 changed the title Changed the version checking in the URL Fix version checking in the URL Oct 2, 2021
@@ -1,5 +1,5 @@
sourceCompatibility = 1.6
targetCompatibility = 1.6
sourceCompatibility = 1.7

Choose a reason for hiding this comment

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

Maybe make it a separate commit?

@patrick-tolosa
Copy link
Contributor

@const-cloudinary can we merge this within this same commit?

@const-cloudinary
Copy link

@const-cloudinary can we merge this within this same commit?

@patrick-tolosa , it's not a blocker, we can merge it.

@patrick-tolosa patrick-tolosa merged commit df7b3cc into master Oct 27, 2021
@patrick-tolosa patrick-tolosa deleted the fix/wrong-version-in-publicid-handling branch October 27, 2021 15:29
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.

3 participants