You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> node ./cli.js tests/ --ignore="$a,$b"
Looking for unused variables
Searching for unused variables in "/home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests" folder, scss files...
11 total variables.
8 are not used!
Variable $a is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:2
Variable $b is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:3
Variable $unused is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:4
Variable $black is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:5
Variable $ignored-variable is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:13
Variable $enabled-variable is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:19
Variable $nestedVar is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/test.scss:7
Variable $nestNestedVar is not being used! /home/runner/work/find-unused-sass-variables/find-unused-sass-variables/tests/test.scss:12
On Windows:
> node ./cli.js tests/ --ignore="$a,$b"
Looking for unused variables
Searching for unused variables in "D:\a\find-unused-sass-variables\find-unused-sass-variables\tests" folder, scss files...
9 total variables.
6 are not used!
Variable $unused is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:4
Variable $black is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:5
Variable $ignored-variable is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:13
Variable $enabled-variable is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/_variables.scss:19
Variable $nestedVar is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/test.scss:7
Variable $nestNestedVar is not being used! D:/a/find-unused-sass-variables/find-unused-sass-variables/tests/test.scss:12
It seems that the ignore CLI option isn't respected on Linux. Maybe we need to escape $?
The text was updated successfully, but these errors were encountered:
So, it seems that on Ubuntu ignores aren't respected at all. Unsure if it's a combination of our npm test script and Ubuntu or if it happens with normal CLI usage on Ubuntu too.
On Ubuntu:
On Windows:
It seems that the
ignore
CLI option isn't respected on Linux. Maybe we need to escape$
?The text was updated successfully, but these errors were encountered: