generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue Overview
The continuous integration failure is due to code formatting discrepancies identified by Prettier during the npm run format:check command execution.
Detailed Analysis
The command executed, npm run format:check, invokes npx prettier --check . to check all files in the root directory for proper formatting. The logs indicate that there were formatting warnings in two files:
- CONTRIBUTING.md
- README.md
Prettier flagged these files as not adhering to the expected code style, which caused the build process to exit with a status code of 1, marking the job as a failure.
Resolution
To resolve the issue, run npx prettier --write . on your local development environment to automatically format the affected files according to Prettier's rules. After correcting the formatting, commit the changes to ensure the continuous integration pipeline passes without formatting errors.
Metadata
Metadata
Assignees
Labels
No labels