uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Unnecessary concatenation of literals or template literals found JS-0096
Anti-pattern
Minor
a year agoa year old
Unexpected string concatenation of literals.
353    if (type === "backtest") {
354      return "Backtest Plan";
355    } else if (type === "version") {
356      return "Create New Version:" + " " + plan.plan_name;357    } else {
358      return "Create Custom Plan:" + " " + plan.plan_name;
359    }
Unexpected string concatenation of literals.
355    } else if (type === "version") {
356      return "Create New Version:" + " " + plan.plan_name;
357    } else {
358      return "Create Custom Plan:" + " " + plan.plan_name;359    }
360  }
361