Skip to content
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

提交代码的时候git报错 #72

Open
7 tasks done
hgaoping opened this issue Dec 19, 2024 · 0 comments
Open
7 tasks done

提交代码的时候git报错 #72

hgaoping opened this issue Dec 19, 2024 · 0 comments

Comments

@hgaoping
Copy link

描述问题

No files matching the pattern "C:/Users/Lenovo/Desktop/app/pages.config.ts$1$1" were found.
为啥会报这个错,好像之前也并不会执行这个git hook

复现

⚠ Running tasks for staged files...
❯ package.json — 14 files
❯ * — 14 files
✖ eslint --fix [FAILED]
↓ Skipped because of errors from tasks.
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ eslint --fix:

Oops! Something went wrong! :(

ESLint: 9.14.0

No files matching the pattern "C:/Users/Lenovo/Desktop/app/pages.config.ts$1$1" were found.
Please check for typing mistakes in the pattern.

系统信息

基础环境信息:

  • os: Windows 11 10.0.26100
  • node: 20.15.1
  • packageManager: pnpm
  • vscode: 1.96.1
  • volar: 2.1.10

基础依赖信息:

  • vue: 3.4.38
  • vite: 5.4.11
  • @dcloudio/uni-app: 3.0.0-4030620241128001

uni-helper依赖信息:

使用的包管理器

pnpm

核对

贡献

  • 我愿意提交一个 PR 修复这个问题
  • 我愿意提交一个 PR 带有失败的测试(实际上只要去做就好,谢谢!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant