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

Update error JSON handling #3654

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Save progress

ca59566
Select commit
Loading
Failed to load commit list.
Open

Update error JSON handling #3654

Save progress
ca59566
Select commit
Loading
Failed to load commit list.
coqbot-app / GitLab CI job lint (branch) failed Nov 7, 2024 in 0s

Test has failed on GitLab CI

This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.

We show below the last 40 lines of the trace from GitLab (the complete trace is available here).

Details

  293:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  294:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  314:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  315:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  335:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  336:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  441:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect
  444:7  error  Avoid calling `expect` conditionally`                                                                   jest/no-conditional-expect

✖ 20 problems (20 errors, 0 warnings)


> nx run @gitbeaker/core:lint


=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=4.3.5 <5.4.0

YOUR TYPESCRIPT VERSION: 5.5.3

Please only submit bug reports when using the officially supported version.

=============

 

 >  NX   Running target lint for 4 projects failed

   Failed tasks:
   
   - @gitbeaker/rest:lint

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1