src/tasks/docs/github/index.js
Function executeAPIMethod
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
executeAPIMethod(method, options, headers, callback) {
// максимальное число допустимых повторных обращений к github в случае возникновения ошибки
const ATTEMPTS = 5;
debug(`github API call for ${method} with options:`);