Closed atifaziz closed 2 years ago
Hi, I did a few tests it was working fine in v0.1.1 not sure why it didn't work for you! but I accepted your PR anyway. (your version was much cleaner)
I don't close this issue until you test again the next version (v0.1.2
), to make sure the problem actually is solved or not.
Thank you for your feedback and contribution.
I don't close this issue until you test again the next version (
v0.1.2
), to make sure the problem actually is solved or not.
Worked like a charm after updating to 0.1.2 via dotnet tool update Husky
and running the same test. Thanks for merging the fix and your prompt actions!
Using
${matched}
returns an empty list.To Reproduce
Update
task-runner.json
to read as follows:This is based on the
dotnet-format
task that comes pre-configured when Husky is installed.Run the task with:
Expected behavior
Expected matching files names to be echoed.
Actual behavior
The task is skipped because no matching files are found:
I ran this on a Windows 11 machine with a Git repo containing a C# project.