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
Files with autogenerated id in their names are always removed then added #449
Comments
Looks like the option All other files get lost in the process and are reported with an empty string instead
|
The problem seems to be this line
As if there's no group being found, |
Making my group optional in my regex kind of fixes the issue... But it makes the split function returning an undefined value and we do a replace on an undefined (my files don't have Might be worth it to replace the Something along these lines maybe
|
Thanks for reporting this. This is definitely annoying when all your files aren't matching with Would you like to send a pull request with tests? I will be happy to review it. |
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
The page breakdown keeps showing the file being removed, then added, while it's the same file. This adds complexity seeing the overall change to the file.
If the current behavior is a bug, please provide the steps to reproduce.
Create a bundle with an auto-generated id in the name, such as:
What is the expected behavior?
Bundlewatch should compare the 2 files with different generated id instead of showing one as removed and the other as added.
Please mention other relevant information such as the browser version, Node.js version, bundlewatch version, and Operating System.
Is there a way to clear the cache or something on the bundlewatch side?
The text was updated successfully, but these errors were encountered: