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
Applying modifications... [failed] #820
Comments
Hello, thanks for the issue. Can you test on This particular command can be seen here: It hasn't been directly touched in EDIT: Please also post debug logs by running lint-staged in debug mode: |
After run:
It works well. My config in package.json:
Based on the above information, if debugging information is still needed, please let me know and I will try it later. |
Hey, please post the debug log. It contains things like the parsed file paths so it would help figuring out what the issue is. |
|
Hmm, I wonder if this filename could be what's up:
EDIT Can you try editing lint-staged code directly to see if this helps: Open --- this.stagedFileChunks.map(stagedFiles => this.execGit(['add', ...stagedFiles]))
+++ this.stagedFileChunks.map(stagedFiles => this.execGit(['add', '--', ...stagedFiles])) So in effect add the |
I was able to replicate the issue in a test and made a PR #821 |
🎉 This issue has been resolved in version 10.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
v10.1.1 is works well. Thanks quickly fix. |
Description
Backquotes are to the left of the file path and single quotes are to the right, which is wrong.
Steps to reproduce
Debug Logs
expand to view
Environment
lint-staged
: v10.1.0The text was updated successfully, but these errors were encountered: