mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
refactor: rename finalise to finalize (#21278)
This commit is contained in:
parent
03618ee581
commit
6a446499f7
7 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ import {
|
|||
} from './repository-statistics';
|
||||
|
||||
// istanbul ignore next
|
||||
export async function finaliseRepo(
|
||||
export async function finalizeRepo(
|
||||
config: RenovateConfig,
|
||||
branchList: string[]
|
||||
): Promise<void> {
|
|
@ -20,7 +20,7 @@ beforeEach(() => {
|
|||
config.warnings = [];
|
||||
});
|
||||
|
||||
describe('workers/repository/finalise/prune', () => {
|
||||
describe('workers/repository/finalize/prune', () => {
|
||||
describe('pruneStaleBranches()', () => {
|
||||
beforeEach(() => {
|
||||
GlobalConfig.reset();
|
|
@ -26,7 +26,7 @@ const result = Object.keys(prJson).map((key) => {
|
|||
return prJson[key];
|
||||
});
|
||||
|
||||
describe('workers/repository/finalise/repository-statistics', () => {
|
||||
describe('workers/repository/finalize/repository-statistics', () => {
|
||||
let config: RenovateConfig;
|
||||
|
||||
describe('runRenovateRepoStats', () => {
|
|
@ -22,8 +22,8 @@ import { addSplit, getSplits, splitInit } from '../../util/split';
|
|||
import { setBranchCache } from './cache';
|
||||
import { ensureDependencyDashboard } from './dependency-dashboard';
|
||||
import handleError from './error';
|
||||
import { finaliseRepo } from './finalise';
|
||||
import { pruneStaleBranches } from './finalise/prune';
|
||||
import { finalizeRepo } from './finalize';
|
||||
import { pruneStaleBranches } from './finalize/prune';
|
||||
import { initRepo } from './init';
|
||||
import { OnboardingState } from './onboarding/common';
|
||||
import { ensureOnboardingPr } from './onboarding/pr';
|
||||
|
@ -91,7 +91,7 @@ export async function renovateRepository(
|
|||
} else {
|
||||
await ensureDependencyDashboard(config, branches, packageFiles);
|
||||
}
|
||||
await finaliseRepo(config, branchList);
|
||||
await finalizeRepo(config, branchList);
|
||||
// TODO #7154
|
||||
repoResult = processResult(config, res!);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue