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
There was a previous issue: #583 which framed the experience I just had, but I'm running lint-staged@13.0.3 — I was making a commit and realized I had skipped something and muscle memory kicked in and I hit Ctrl+C while lint-staged was in the middle of running the "Cleaning up temporary files..." step.
This resulted in all my work being stashed but I didn't have a good means of introspecting where it went (and so I had to sort .git/objects by date and figure out the correct hash).
I was able to overcome this problem, but it seems like the original issue wasn't solved (?)
Steps to reproduce
I believe this happened because I hit Ctrl+C while lint-staged was in the middle of running the "Cleaning up temporary files..." step, but I am not certain.
Debug Logs
<project>/node_modules/.bin/lint-staged
✔ Preparing lint-staged...
✔ Hiding unstaged changes to partially staged files...
❯ Running tasks for staged files...
❯ .lintstagedrc.js — 12 files
❯ *.{js,jsx,ts,tsx} — 10 files
✖ eslint --fix [FAILED]
↓ package* — no files [SKIPPED]
↓ apps/* — no files [SKIPPED]
↓ Skipped because of errors from tasks. [SKIPPED]
↓ Skipped because of errors from tasks. [SKIPPED]
⠴ Reverting to original state because of errors...
◼ Cleaning up temporary files...
^C
Environment
OS: macOS Ventura 13.5
Node.js:v18.15.0
lint-staged:13.0.3
The text was updated successfully, but these errors were encountered:
Description
There was a previous issue: #583 which framed the experience I just had, but I'm running
lint-staged@13.0.3
— I was making a commit and realized I had skipped something and muscle memory kicked in and I hitCtrl+C
whilelint-staged
was in the middle of running the "Cleaning up temporary files..." step.This resulted in all my work being stashed but I didn't have a good means of introspecting where it went (and so I had to sort
.git/objects
by date and figure out the correct hash).I was able to overcome this problem, but it seems like the original issue wasn't solved (?)
Steps to reproduce
I believe this happened because I hit
Ctrl+C
whilelint-staged
was in the middle of running the "Cleaning up temporary files..." step, but I am not certain.Debug Logs
Environment
v18.15.0
lint-staged
:13.0.3
The text was updated successfully, but these errors were encountered: