Skip to content

Fix problem prefixBase option adds prefix to absolute paths incorrectly#13

Open
randing89 wants to merge 2 commits intocowboy:masterfrom
randing89:master
Open

Fix problem prefixBase option adds prefix to absolute paths incorrectly#13
randing89 wants to merge 2 commits intocowboy:masterfrom
randing89:master

Conversation

@randing89
Copy link

When running against the options like

{
  src: ['/absolute/path/to/deep/**/deep*.txt'],
  srcBase: '/absolute/path/to/deep/', 
  prefixBase: true
}

The return paths will be prefixed incorrectly like:
/absolute/path/to/deep/absolute/path/to/deep/**/deep*.txt

This pull request is addressed to solve this problem with test case attached

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.

1 participant