Replies: 1 comment
-
In this case these commands will be executed concurrently and the one that finished last will be the winner. In details, it depends on how eslint and prettier work with files: modify them or create a copy and then replace the original with the new version. I guess it's the second (the same text editors work with files). If I'm right, the last command finished will persist the file. No matter what command finishes last files will be staged for both since they are being staged concurrently also. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
Before trying to experimentally determine this, I thought I'd ask - what is the behavior of lefthook when we have something like the following configuration that uses bot
parallel: true
andstage_fixed: true
commands:It is possible for the above configuration for both commands to change the same file, so I wanted to know what would lefthook do?
Beta Was this translation helpful? Give feedback.
All reactions