Showing 1 of 1 total issue
Function toBuffer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ImageCharts.prototype.toBuffer = function (options) {
const _options = Object.assign({}, {
// request retry
maxAttempts: 3, // retry 3 times
retryDelay: 2000, // wait 2s before trying again