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

add new flags for comparing warning and error diffs #1888

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

connorskees
Copy link
Contributor

Adds 3 new CLI flags to configure how warning and error diffs are handled.

Closes #1679

@@ -185,7 +188,7 @@ export default class TestCase {
// create a warning file
if (
this.dir.hasFile('warning') &&
this.dir.readFile('warning') &&
await this.dir.readFile('warning') &&
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated to my changes, but was giving an error-level lint. readFile returns a promise, which if not awaited will always be true in this context

@jathak jathak requested a review from nex3 March 13, 2023 20:59
@nex3 nex3 merged commit 778aefa into sass:main Mar 20, 2023
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.

Ability to ignore error messages/spans and deprecation warnings
2 participants