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

Warn when building assets from files if some referenced contexts are missing #1771

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

keith-hall
Copy link
Collaborator

Upgrade to syntect 4.6.0 and add a warning to stdout when building assets from files and some context references are unresolved. Fixes #1616 and makes it easier to work on #915 and prevent such cases occurring again in future :)

src/assets.rs Outdated Show resolved Hide resolved
@Enselic
Copy link
Collaborator

Enselic commented Aug 2, 2021

@keith-hall Oh, I just noticed, seems like you forgot to git add the changes to Cargo.lock ?

Copy link
Collaborator

@Enselic Enselic left a comment

Choose a reason for hiding this comment

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

Cargo.lock seems forgotten?

@Enselic
Copy link
Collaborator

Enselic commented Aug 2, 2021

Our CI is supposed to detect this, but it appears as if us forgetting to pass --locked to early cargo commands fixed Cargo.lock for later commands.

I just created a PR that fixes this. I verified that with this CI fix, this PR would cause CI to fail:

Copy link
Collaborator

@Enselic Enselic 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn at asset building time when a syntax definition context reference can't be resolved
3 participants