Closed duhrer closed 2 months ago
The test failure is a coverage failure, which completely makes sense, as I need to add tests.
If anyone wants to try it, I cut a dev release, fluid-lint-all@1.2.10-dev.20231103T135559Z.3b3787c.GH-62
. The new flag is --changedOnly
.
I found a handful of goofs with the new tests, this should be ready to review now.
Per discussion with the group, it sounds like we wanted to lint "staged" files, which is now what this pull adds. I renamed the check to stagedOnly
to clarify.
I released fluid-lint-all@1.2.10-dev.20231108T140350Z.5068e3f.GH-62
to assist in QA.
@amb26, I have updated to avoid using mv
directly in the tests, this should hopefully work on Windows as well.
I'm currently unable to test this on my machine because of the following issue running the tests -
fluid-lint-all@1.2.11 test E:\Source\gits\fluid-lint-all npx nyc@15.1.0 node tests/all-tests.js
npm ERR! cb.apply is not a function
I get this with main as well so the issue isn't related to this pull - I've attached the logs 2024-04-09T14_49_52_581Z-debug.txt but will try again when I get back to my main machine.
node version 16.6.2 npm 6.14.11 on Windows
Works for me, @duhrer! Thank you!
See #62 for background.