Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

A fix for issue #40 #47

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

Conversation

yanivefraim
Copy link

Partial file names. Files names with same prefix where mistakenly matched. For example: Both "scripts/main.js" and "scripts/mobile-main.js" where a match to "main.js" file. I added regex fix in order to match only exact file
names (regex added is "(['"/])" for matching names staring with ', " or /. This fixed the issue.
I added unitests (which fails without this fix).

Partial file names. Added regex fix in order to  match only exact file
names (So when wanting to match “main.js” only “scripts/main.js” will
fit and “scripts/mobile-main.js” will not fit). +Added unitests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant