Skip to content

fix: resolve unreachable code coverage warning in TaskFilter.ts

ed526da
Select commit
Loading
Failed to load commit list.
Closed

feat: Add Task Filtering and Tags #244

fix: resolve unreachable code coverage warning in TaskFilter.ts
ed526da
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 3, 2026 in 29s

Annotations

Check warning on line 50 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rf&open=AZ1Q51mYTm5LOco2D7Rf&pullRequest=244

Check warning on line 28 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rg&open=AZ1Q51mYTm5LOco2D7Rg&pullRequest=244

Check warning on line 87 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Ro&open=AZ1Q51mYTm5LOco2D7Ro&pullRequest=244

Check warning on line 64 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rk&open=AZ1Q51mYTm5LOco2D7Rk&pullRequest=244

Check warning on line 77 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rl&open=AZ1Q51mYTm5LOco2D7Rl&pullRequest=244

Check warning on line 72 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rm&open=AZ1Q51mYTm5LOco2D7Rm&pullRequest=244

Check warning on line 57 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Ri&open=AZ1Q51mYTm5LOco2D7Ri&pullRequest=244

Check warning on line 57 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rj&open=AZ1Q51mYTm5LOco2D7Rj&pullRequest=244

Check warning on line 91 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rn&open=AZ1Q51mYTm5LOco2D7Rn&pullRequest=244

Check failure on line 10 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Re&open=AZ1Q51mYTm5LOco2D7Re&pullRequest=244

Check warning on line 58 in src/utils/TaskFilter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=thalesraymond_task-runner&issues=AZ1Q51mYTm5LOco2D7Rh&open=AZ1Q51mYTm5LOco2D7Rh&pullRequest=244