Team-Gigabyte / quotobot

Found trailing undefined in function call JS-W1042
Anti-pattern
Minor
5 months ago5 months old
Remove redundant undefined from function call
431                            return null;
432                        } else if (stockData.error ||
433                            (Object.keys(stockData).length == 0 && stockData.constructor === Object) ||
434                            Object.values(stockData).includes(undefined) ||435                            stockData.t === 0) {
436                            message.reply(embed.error(`${args[0]} was not found.`, (stockData.error || "ERR_ALLSTOCK_ZERO")));
437                            return null;