Skip to content

add new flags for comparing warning and error diffs#1888

Merged
nex3 merged 2 commits intosass:mainfrom
connorskees:feat/diff-flags
Mar 20, 2023
Merged

add new flags for comparing warning and error diffs#1888
nex3 merged 2 commits intosass:mainfrom
connorskees:feat/diff-flags

Conversation

@connorskees
Copy link
Contributor

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

Closes #1679

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