anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.24k stars 51 forks source link

Send the from parameter onto BrowserSelection #72

Closed Arcanemagus closed 7 years ago

Arcanemagus commented 7 years ago

When the usage of MissingSupport was expanded to send on the path of the source being checked and BrowserSelection was expanded to use it in #69, it seems that MissingSupport itself never got updated to pass on the parameter.

This was causing the process.cwd to be used as the path eventually, which was potentially wildly inaccurate leading to the configuration not being found.

Fixes https://github.com/AtomLinter/linter-stylelint/issues/344.

ismay commented 7 years ago

@Arcanemagus Thanks for the pr! Apologies for not being able to help more in catching this. I hope I'll have some time soon to spend on this library. Thanks again!