litmuschaos/litmus

Chore: remove inefficient code

オープン

#4,206 opened on 2023/10/04

 (6 件のコメント) (0 件のリアクション) (1 人の担当者)HTML (574 件のフォーク)batch import
Hacktoberfestgood first issue

Repository metrics

Stars
 (3,702 個のスター)
PR merge metrics
 (平均マージ 42d 14h) (30d で 20 merged PRs)

説明

As you can see in the switch expression, lastExperimentRunStatus === ExperimentRunStatus.RUNNING and lastExperimentRunStatus === ExperimentRunStatus.QUEUED are always true. IMO, we can shift these statements to true

Anyone who finds good first issues or participates in hacktoberfest can take this issue.

https://github.com/litmuschaos/litmus/blob/794676f6b75e08835334fd5d675e0b0d096d5f9d/chaoscenter/web/src/views/ExperimentDashboardV2/ExperimentDashboardV2Table.tsx#L207-L223

コントリビューターガイド