redpeacock78/sushiro.js

View on GitHub
src/generate/generate.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status