Closed leonelgalan closed 7 years ago
I've clone and build the engine locally. Commenting this process.exit(1);
is not enough, the other process. exit(1)
in the catch
is triggered and it shows:
Error: undefined does not match any files
See our documentation at https://docs.codeclimate.com/docs/stylelint for more information.
Ultimately analysisFiles
, shouldn't be undefined, but an empty array if no file matches.
When running
codeclimate analyze example.rb
the analysis fails because ofhttps://github.com/gilbarbara/codeclimate-stylelint/blob/master/bin/codeclimate-stylelint#L128:
Expected behavior is that codeclimate-stylelint simply doesn't run against that file because, but let other engines run.
Current behavior is
This prevents me from seeing the result thrown by other engine(s).