Skip to content

Commit

Permalink
wip: fight with linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dduportal authored Dec 22, 2023
1 parent 58f2fa4 commit 21eba5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/gatsby-source-jenkinsplugins/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'path';
import crypto from 'crypto';
import {load} from 'cheerio';
import {execSync} from 'child_process';
import axiosRetry from 'axios-retry';
import axiosRetry, {exponentialDelay} from 'axios-retry';
import {parse as parseDate} from 'date-fns';
import PQueue from 'p-queue';
import {parseStringPromise} from 'xml2js';
Expand All @@ -22,7 +22,7 @@ import findPackageJson from 'find-package-json';

const API_URL = process.env.JENKINS_IO_API_URL || 'https://plugins.jenkins.io/api';

axiosRetry(axios, {retries: 5, retryDelay: axiosRetry.exponentialDelay});
axiosRetry(axios, {retries: 5, retryDelay: exponentialDelay});

const requestGET = async ({url, reporter}) => {
const activity = reporter.activityTimer(`Fetching '${url}'`);
Expand Down

0 comments on commit 21eba5f

Please sign in to comment.