src/generate/generate.ts
Function get_menu
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
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");