v10.0.0-1 stuck
See original GitHub issuev10.0.0-0 didn’t have to wait that long
Backing up original state... +0ms
lint-staged:file Trying to access `/Users/bugzpodder/project/.git/MERGE_HEAD` +0ms
lint-staged:file Unable to access file `/Users/bugzpodder/project/.git/MERGE_HEAD` with error: +3ms
lint-staged:file Error: ENOENT: no such file or directory, access '/Users/bugzpodder/project/.git/MERGE_HEAD' +0ms
lint-staged:git Running git command [ 'ls-files', '--others', '--exclude-standard' ] +31ms
lint-staged:git Running git command [
'stash',
'save',
'--quiet',
'--include-untracked',
'lint-staged automatic backup'
] +445ms
lint-staged:git Running git command [ 'stash', 'list' ] +2s
lint-staged:git Running git command [ 'stash', 'apply', '--index', 'stash@{0}' ] +95ms
lint-staged:git Running git command [ 'clean', '-df' ] +1m
lint-staged:git Running git command [ 'checkout', '.' ] +397ms
lint-staged:git Running git command [ 'stash', 'list' ] +441ms
lint-staged:git Running git command [
'diff',
'--unified=0',
'--no-color',
'--no-ext-diff',
'--patch',
'stash@{0}',
'-R'
] +100ms
lint-staged:git Done backing up original state! +1m
Preparing... [completed]
Running tasks... [started]
Running tasks for *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx) [started]
lint-staged:make-cmd-tasks Creating listr tasks for commands 'yarn lint:staged' +0ms
lint-staged:task cmd: yarn lint:staged +0ms
lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +0ms
yarn lint:staged [started]
yarn lint:staged [completed]
Running tasks for *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx) [completed]
Running tasks... [completed]
Applying modifications... [started]
lint-staged:git Running git command [ 'ls-files', '--modified' ] +40s
Applying modifications... [completed]
Cleaning up... [started]
lint-staged:git Dropping backup stash... +40s
lint-staged:git Running git command [ 'stash', 'list' ] +195ms
lint-staged:git Running git command [ 'stash', 'drop', '--quiet', 'stash@{0}' ] +94ms
lint-staged:git Done dropping backup stash! +258ms
Cleaning up... [completed]
lint-staged tasks were executed successfully! +2m
✨ Done in 110.68s.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Cypress runner stuck on loading after updating to version 10
Current behavior I just migrated to version 10.9.0 but when i tried to run the command cypress open it just stuck on loading...
Read more >Murena Teracube 2e (Android 11)... fix IMEI - XDA Forums
Something somehow got corrupted. The only way I could get it to come out of boot-loop was to completely erase everything on the...
Read more >USBLoader GX stuck on initializing usb drive | GBAtemp.net
but now im getting stuck on the initializing usb drive. My wii is a pal wii 4.3E , please let me know if...
Read more >Why does my calculation using GROMACS get stuck at step 0?
I have been using the HPCE on our campus for MD simulations using GROMACS. However, when I use the following script, after the...
Read more >VACUUM won't remove dead rows: 4 reasons why - CYBERTEC
This article will show you the four reasons why VACUUM cannot remove dead rows from a PostgreSQL table, and how to find out...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found a nice workaround in https://github.com/okonet/lint-staged/commit/cfde9ca64bed7fa236eda69e63478c536f9f9068
Basically before stashing everything with
git stash save --include-untracked
we get a diff of only the staged files withgit diff --cached
, and then after the stash removes everything, apply it back.I will assume this is fixed in https://github.com/okonet/lint-staged/releases/tag/v10.0.0-beta.2%40beta and will close this issue. Please re-test and re-open if it still doesn’t work correctly.