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
WARN ‼ Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
385
-
386
384
ERROR
387
385
× lint-staged failed due to a git error.
388
386
Any lost modifications can be restored from a git stash:
@@ -693,12 +691,15 @@ describe('runAll', () => {
693
691
694
692
// Run lint-staged with prettier --write to automatically fix the file
695
693
// Since prettier reverts all changes, the commit should fail
694
+
// use the old syntax with manual `git add` to provide a warning message
WARN ‼ Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
702
+
702
703
WARN
703
704
‼ lint-staged prevented an empty git commit.
704
705
Use the --allow-empty option to continue, or check your task configuration
0 commit comments