Skip to content

Commit

Permalink
refactor: BucketConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 18, 2021
1 parent 07a0501 commit df2db74
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/workers/repository/process/lookup/bucket.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import * as allVersioning from '../../../../versioning';
import { LookupUpdateConfig } from './common';

export interface BucketConfig {
separateMajorMinor?: boolean;
separateMultipleMajor?: boolean;
separateMinorPatch?: boolean;
}

export function getBucket(
config: LookupUpdateConfig,
config: BucketConfig,
currentVersion: string,
newVersion: string,
versioning: allVersioning.VersioningApi
Expand Down

0 comments on commit df2db74

Please sign in to comment.