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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

git diff causing error in github action #129

Open
landon-buttars-wgu opened this issue Apr 28, 2021 · 1 comment
Open

git diff causing error in github action #129

landon-buttars-wgu opened this issue Apr 28, 2021 · 1 comment

Comments

@landon-buttars-wgu
Copy link

Pretty-quick is running inside my github action and it is failing on the git diff. Not quite sure what would cause this. Any ideas?

$ npx pretty-quick --check --staged && ng lint
馃攳  Finding changed files since git revision null.
Command failed with exit code 2 (ENOENT): git diff --name-only --cached --diff-filter=ACMRTUB
spawnSync git ENOENT
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! wgu-common-ngp@1.16.4 test:ci: `jest --coverage --config ./jest.config.js --maxWorkers=1 && yarn lint:ci`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the wgu-common-ngp@1.16.4 test:ci script.
@JounQin
Copy link
Member

JounQin commented Jan 16, 2024

Not sure to understand what's the issue.

A minimal but runnable online reproduction is required.

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

2 participants