-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${staged} variable contains some temporary files #39
Comments
alirezanet
added
need more information
Need more information
and removed
bug
Something isn't working
labels
Mar 9, 2022
My bad! Forgot to include the output. Link to the repo with said solution: https:/ultrr/husky.net-staged-bug Steps to reproduce:
Output:
|
alirezanet
added
bug
Something isn't working
and removed
need more information
Need more information
labels
Mar 9, 2022
alirezanet
added a commit
that referenced
this issue
Mar 9, 2022
acesyde
pushed a commit
to acesyde/Husky.Net
that referenced
this issue
Mar 10, 2022
alirezanet
added a commit
that referenced
this issue
Jul 30, 2022
* feat: compile scripts * fix: unit tests * fix: your current branch does not have any commits yet #27 (#34) * fix: your current branch does not have any commits yet #27 * fix: your current branch does not have any commits yet #27 * fix: staging files * build: bump to v0.4.1 * fix(staged): add no-partial option to support normal staging process #39 * build: bump to v0.4.2 * fix: wrong cache folder path * test: fix failed tests * fix: update clean command cache folder path * fix: tests failing on linux Co-authored-by: AliReZa Sabouri <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
0.4.0
Details
I was running a git hook with several steps configured. I was expecting only REAL staged files to be committed but unfortunately there were some additional staged files which shouldn't be added to ${staged} variable.
Steps to reproduce
task-runner.json
git add ${staged}
afterregitlint
but it results in committing those temporary files as well.The text was updated successfully, but these errors were encountered: