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

Issue #22 - Handle substrings and repetitions correctly in replacePaths #25

Merged
merged 1 commit into from
Feb 28, 2019

Conversation

MalucoMarinero
Copy link
Contributor

@MalucoMarinero MalucoMarinero commented Dec 9, 2018

Sort strings so longer strings are handled first, so the longer
paths aren't mistakenly given a hash of some shorter substring path.

Add global flag to replacePaths regex to ensure all instances of a path
are handled.

Fixes #22.

…n replacePaths

Sort strings so longer strings are handled first, so the longer
paths aren't mistakenly given a hash of some shorter substring path.

Add global flag to replacePaths regex to ensure all instances of a path
are handled.
@XhmikosR XhmikosR requested a review from rakeshpai December 12, 2018 22:24
@XhmikosR
Copy link
Collaborator

LGTM from a quick look, I'll wait a bit for @rakeshpai to chime in.

Copy link
Member

@rakeshpai rakeshpai left a comment

Choose a reason for hiding this comment

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

LGTM!

@XhmikosR XhmikosR merged commit 9e4fac7 into errorception:master Feb 28, 2019
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