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
446                            return null;
447                        } else if (stockData.error ||
448                            (Object.keys(stockData).length == 0 && stockData.constructor === Object) ||
449                            Object.values(stockData).includes(undefined) ||450                            stockData.t === 0) {
451                            message.reply(embed.error(`${args[0]} was not found.`, (stockData.error || "ERR_ALLSTOCK_ZERO")));
452                            return null;