lib/providers/webpush/gcm.js
Function value
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function () {
var _send = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(request) {
var _ref2, subscription, rest, result;
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
Function _callee
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _send = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(request) {
var _ref2, subscription, rest, result;
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
Function _callee$
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!request.customize) {
_context.next = 6;