Workflows - Fixes Fix Instructions

This commit is contained in:
Refringe 2024-04-10 19:47:11 -04:00
parent 2b50b29db2
commit eb57a5e01f
No known key found for this signature in database
GPG Key ID: 7715B85B4A6306ED
3 changed files with 7 additions and 10 deletions

View File

@ -53,7 +53,6 @@ jobs:
- name: Fix Instructions
if: failure() && steps.run-tests.outcome == 'failure'
run: |
echo "Code linting has failed. The linter has been configured to look for coding errors, defects, and questionable constructs. Please look into resolving these errors.\n\n"
echo "The linter may be able to resolve some of these issues automatically. You can launch the automatic fixer by running the following command from within the `project` directory. Anything not resolved by running this command must be resolved manually.\n`npm run lint:fix`\n\n"
echo "Consistency is professionalism.™"
echo -e "Code linting has failed. The linter has been configured to look for coding errors, defects, and questionable patterns. Please look into resolving these errors. The linter may be able to resolve some of these issues automatically. You can launch the automatic fixer by running the following command from within the 'project' directory. Anything not resolved by running this command must be resolved manually.\nnpm run lint:fix\n\n"
echo -e "Consistency is professionalism.™"
shell: bash

View File

@ -53,8 +53,7 @@ jobs:
- name: Fix Instructions
if: failure() && steps.check-code-style.outcome == 'failure'
run: |
echo "The code style check has failed. To fix this, please ensure your code adheres to the project's style guidelines.\n\n"
echo "You can automatically format the project code by running the following command from within the `project` directory.\n`npm run style:fix`\n\n"
echo "To automatically format code on-save in your IDE, please install the recommended VSCode plugins listed within the `project/Server.code-workspace` file."
echo "Thank you for keeping our house clean. ♥"
echo -e "The code style check has failed. To fix this, please ensure your code adheres to the project's style guidelines. You can automatically format the project code by running the following command from within the 'project' directory.\nnpm run style:fix\n\n"
echo -e "To automatically format code on-save in your IDE, please install the recommended VSCode plugins listed within the 'project/Server.code-workspace' file."
echo -e "Thank you for keeping our house clean. ♥"
shell: bash

View File

@ -53,7 +53,6 @@ jobs:
- name: Fix Instructions
if: failure() && steps.run-tests.outcome == 'failure'
run: |
echo "Automated tests have failed. This could point to an issue with the commited code, or an updated test that has yet to be updated. Please look into resolving these test failures.\n\n"
echo "The testing suite has a GUI to aid in writing tests. You can launch this by running the following command from within the `project` directory.\n`npm run test:ui`\n\n"
echo "A test written today is a bug prevented tomorrow.™"
echo -e "Automated tests have failed. This could point to an issue with the commited code, or an updated test that has yet to be updated. Please look into resolving these test failures. The testing suite has a GUI to aid in writing tests. You can launch this by running the following command from within the 'project' directory.\nnpm run test:ui\n\n"
echo -e "A test written today is a bug prevented tomorrow.™"
shell: bash