1

Stylelint not running on Windows when passing a path

 1 year ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1834118
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Details

Looks like the same thing as bug 1829162, but for stylelint (added in bug 1508369).

On windows, passing a path throws

$ mach lint --linter stylelint browser/components/newtab
An error occurred running stylelint. Please check the following error messages:

'scss)' is not recognized as an internal or external command,
operable program or batch file.

Unexpected type received
Traceback (most recent call last):
  File "c:\mozilla-git\mozilla-unified-2\python\mozlint\mozlint\roller.py", line 82, in _run_worker
    assert False
AssertionError
A failure occurred in the stylelint linter.
✖ 1 problem (0 errors, 0 warnings, 1 failure, 0 fixed)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK