-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Unexpected error when tried to load a *.bat file in a private repository. #93
Comments
Thanks. Do you want to try to fix it? Here's a PR solving it for other file extensions: #82 |
Would love to work on this if no one else is. @pomber @vilemj-Viclick |
All yours. Let me know if you need help |
Roger that. @pomber let me give this a try and get back at you 👍 |
Going through the issue, code base and the link provided i have observed that there is present a test and a regex for the |
The language returned should match one of the languages from prism: https://github.com/PrismJS/prism/tree/master/components. ( |
This is what I got, when I tried on a random file in a private repo in our organization (github entity).

I mean I didn't expect it to work, but it says to report the issue, so here I am.
I tried a different file in the same repository, and now it says this:

This leads me to being a bit more specific. The exact URL i tried is:
https://github.githistory.xyz/KenticoInternal/draft-client/blob/master/autostart.bat
To be clear, there is 'some' history with this file:

The text was updated successfully, but these errors were encountered: