redpeacock78/sushiro.js

View on GitHub

Showing 1 of 5 total issues

Function get_menu has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const get_menu: get_menu = async (URL: string): Promise<string[][]> => {
  return await axios
    .get(URL)
    .then((resp: AxiosResponse<string>): string[][] => {
      const data_arr: string[] = resp.data.toString().split("\n");
Severity: Minor
Found in src/generate/generate.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language