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

scss-lint returns undefined when there aren't errors in files #90

Open
brossaip opened this issue Dec 20, 2018 · 2 comments
Open

scss-lint returns undefined when there aren't errors in files #90

brossaip opened this issue Dec 20, 2018 · 2 comments

Comments

@brossaip
Copy link

My version of scss-lint returns nothing when there aren't problems. This makes the line resolve([JSON.parse(report)]);
to through an exception.
I have modified the line by
if (typeof report !== 'undefined') {
resolve([JSON.parse(report)]);
} else {
// console.log("(JBD) report undefined");
resolve([JSON.parse('{}')]);
}
And now it works well

@juanfran
Copy link
Owner

how is your config?

@juanfran
Copy link
Owner

It could be fixed in the latest release, could you try it?

thanks

@juanfran juanfran reopened this Dec 26, 2018
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

No branches or pull requests

2 participants