Skip to content
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

Core: Added better error message for missing grammars #3311

Merged
merged 1 commit into from Feb 2, 2022

Conversation

RunDevelopment
Copy link
Member

As mentioned in #3310. The error message users get when incorrectly loading grammars is quite non-descriptive. I added a little error that says that there is no grammar for the input language.

@github-actions
Copy link

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +36 B (+1.2%).

file master pull size diff % diff
components/prism-core.min.js 3.09 KB 3.13 KB +36 B +1.2%

Generated by 🚫 dangerJS against 0fddf4f

Copy link
Collaborator

@JaKXz JaKXz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants