You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect only the coverage folder to be ignored. How ever any files with the project-folder-name in their path i.e. all files are considered shouldIgnore.
If you take a look at minimatch you will see that the makeRe method and the Minimatch constructor do not take the same options.
which then triggered false positive on everything in the Travis build base path: /home/travis/build/git-project/git-repo when standard-version was trying to identify the package.json.
So we need this logic to determine its working directory and only apply the .gitignore filters for folders underneath that.
Example if a .gitignore read as follows:
I would expect only the coverage folder to be ignored. How ever any files with the
project-folder-name
in their path i.e. all files are considered shouldIgnore.If you take a look at minimatch you will see that the makeRe method and the Minimatch constructor do not take the same options.
The below code attempts to pass the properties for the Minimatch class to the makeRe method
The properties are ignored and the match is made. I noticed this is the standard-version module.
The text was updated successfully, but these errors were encountered: