fix(astro): mirror batch-size override and ECONNRESET retry to full-reindex script #134
Quality Gate failed
Failed conditions
72.5% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 514 in apps/astro/scripts/index-search.ts
sonarqubecloud / SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=chris-c-thomas_lexbuild&issues=AZ3CxORbEjNYTa-xC-tN&open=AZ3CxORbEjNYTa-xC-tN&pullRequest=134
Check failure on line 492 in apps/astro/scripts/index-search.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=chris-c-thomas_lexbuild&issues=AZ3CxORbEjNYTa-xC-tM&open=AZ3CxORbEjNYTa-xC-tM&pullRequest=134
Check warning on line 231 in apps/astro/scripts/index-search.ts
sonarqubecloud / SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=chris-c-thomas_lexbuild&issues=AZ3CxORbEjNYTa-xC-tL&open=AZ3CxORbEjNYTa-xC-tL&pullRequest=134
Check failure on line 213 in apps/astro/scripts/index-search.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=chris-c-thomas_lexbuild&issues=AZ3CxORbEjNYTa-xC-tK&open=AZ3CxORbEjNYTa-xC-tK&pullRequest=134
Check warning on line 188 in apps/astro/scripts/index-search.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.at(…)` over `[….length - index]`.
See more on https://sonarcloud.io/project/issues?id=chris-c-thomas_lexbuild&issues=AZ3CxORbEjNYTa-xC-tJ&open=AZ3CxORbEjNYTa-xC-tJ&pullRequest=134