diff --git a/lib/platform/bitbucket-server/index.js b/lib/platform/bitbucket-server/index.js index 53e812098e6cfcb1a6be2097ea0b933d2d555a06..9380f342c8dc0f96b3a9e23a3a162ca1c22e278d 100644 --- a/lib/platform/bitbucket-server/index.js +++ b/lib/platform/bitbucket-server/index.js @@ -445,7 +445,7 @@ function ensureIssueClosing(title) { // eslint-disable-next-line no-unused-vars function addAssignees(iid, assignees) { - logger.debug(`addAssignees(${iid})`); + logger.debug(`addAssignees(${iid}, ${assignees})`); // TODO: Needs implementation // Currently Renovate does "Create PR" and then "Add assignee" as a two-step process, with this being the second step. // BB Server doesnt support assignees @@ -490,7 +490,7 @@ async function addReviewers(prNo, reviewers) { // eslint-disable-next-line no-unused-vars function deleteLabel(issueNo, label) { - logger.debug(`deleteLabel(${issueNo})`); + logger.debug(`deleteLabel(${issueNo}, ${label})`); // TODO: Needs implementation // Only used for the "request Renovate to rebase a PR using a label" feature } diff --git a/lib/platform/bitbucket-server/utils.js b/lib/platform/bitbucket-server/utils.js index 9e3887401e8973c33021b9cb9d25cd8699ae7380..44423b33d7998668e6323c2fbe2d69ff0bc4a26d 100644 --- a/lib/platform/bitbucket-server/utils.js +++ b/lib/platform/bitbucket-server/utils.js @@ -21,7 +21,7 @@ const prInfo = pr => ({ }); const addMaxLength = (inputUrl, limit = 100) => { - const { search, ...parsedUrl } = url.parse(inputUrl, true); + const { search, ...parsedUrl } = url.parse(inputUrl, true); // eslint-disable-line @typescript-eslint/no-unused-vars const maxedUrl = url.format({ ...parsedUrl, query: { ...parsedUrl.query, limit }, @@ -39,7 +39,7 @@ const accumulateValues = async (reqUrl, method = 'get', options, limit) => { accumulator = [...accumulator, ...body.values]; if (body.isLastPage !== false) break; - const { search, ...parsedUrl } = url.parse(nextUrl, true); + const { search, ...parsedUrl } = url.parse(nextUrl, true); // eslint-disable-line @typescript-eslint/no-unused-vars nextUrl = url.format({ ...parsedUrl, query: { diff --git a/lib/platform/bitbucket/utils.js b/lib/platform/bitbucket/utils.js index 184cf5a2824a3e9a6e458636475ff979d0233ea5..a80500f1a187ab0f5c96bf2afeaeb3d0c289e757 100644 --- a/lib/platform/bitbucket/utils.js +++ b/lib/platform/bitbucket/utils.js @@ -25,7 +25,7 @@ const buildStates = { }; const addMaxLength = (inputUrl, pagelen = 100) => { - const { search, ...parsedUrl } = url.parse(inputUrl, true); + const { search, ...parsedUrl } = url.parse(inputUrl, true); // eslint-disable-line @typescript-eslint/no-unused-vars const maxedUrl = url.format({ ...parsedUrl, query: { ...parsedUrl.query, pagelen }, diff --git a/lib/workers/pr/changelog/index.js b/lib/workers/pr/changelog/index.js index f9f9b618fcd146d961723c95b76810ba8456fae8..9c62ec936bb57a724aa0fe7a3b4fe124fed639d5 100644 --- a/lib/workers/pr/changelog/index.js +++ b/lib/workers/pr/changelog/index.js @@ -12,7 +12,7 @@ async function getChangeLogJSON(args) { return null; } // releases is too noisy in the logs - const { releases, ...param } = args; + const { releases, ...param } = args; // eslint-disable-line @typescript-eslint/no-unused-vars logger.debug({ args: param }, `getChangeLogJSON(args)`); const { equals } = versioning.get(versionScheme); if (!fromVersion || equals(fromVersion, toVersion)) { diff --git a/test/platform/bitbucket-server/index.spec.js b/test/platform/bitbucket-server/index.spec.js index 952039f46e00f926037206d155e0e7c90cc6b9ad..32dc5e3fbe7628bd887bad2670cbdaeb05be84bd 100644 --- a/test/platform/bitbucket-server/index.spec.js +++ b/test/platform/bitbucket-server/index.spec.js @@ -1,6 +1,3 @@ -// eslint-disable-next-line no-unused-vars -const URL = require('url'); -// eslint-disable-next-line no-unused-vars const responses = require('./_fixtures/responses'); describe('platform/bitbucket-server', () => {