Skip to content

Commit

Permalink
fix: consumerVersionSelector -> consumerVersionSelectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Apr 22, 2020
1 parent baa344f commit dab9507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class Verifier {
providerVersionTag: '--provider-version-tag',
consumerVersionTags: '--consumer-version-tag',
providerVersionTags: '--provider-version-tag',
consumerVersionSelector: '--consumer-version-selector',
consumerVersionSelectors: '--consumer-version-selector',
publishVerificationResult: '--publish-verification-results',
providerVersion: '--provider-app-version',
provider: '--provider',
Expand All @@ -57,7 +57,7 @@ export class Verifier {
options.providerVersionTag = options.providerVersionTag || [];
options.consumerVersionTags = options.consumerVersionTags || [];
options.providerVersionTags = options.providerVersionTags || [];
options.consumerVersionSelector = options.consumerVersionSelector || [];
options.consumerVersionSelectors = options.consumerVersionSelectors || [];

if (
!_.isEmpty(options.consumerVersionTag) &&
Expand Down Expand Up @@ -300,7 +300,7 @@ interface CurrentVerifierOptions {
pactBrokerToken?: string;
consumerVersionTags?: string | string[];
providerVersionTags?: string | string[];
consumerVersionSelector?: ConsumerVersionSelector[];
consumerVersionSelectors?: ConsumerVersionSelector[];
customProviderHeaders?: string[];
publishVerificationResult?: boolean;
providerVersion?: string;
Expand Down

0 comments on commit dab9507

Please sign in to comment.