Skip to content

Commit

Permalink
feat(wip): permenently enable feature that keeps pacts as WIP when ve…
Browse files Browse the repository at this point in the history
…rified via the URL from a webhook triggered by pact publication
  • Loading branch information
bethesque committed Dec 15, 2020
1 parent d1e9ba7 commit 7007137
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/pact_broker/pacts/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'pact_broker/feature_toggle'

module PactBroker
module Pacts
module Metadata
Expand Down Expand Up @@ -33,7 +31,7 @@ def build_metadata_for_webhook_triggered_by_pact_publication(pact)
consumer_version_number: pact.consumer_version_number,
consumer_version_tags: pact.consumer_version_tag_names
}
metadata[:wip] = "true" if PactBroker.feature_enabled?(:experimental_webhook_wip)
metadata[:wip] = "true"
metadata
end
end
Expand Down

0 comments on commit 7007137

Please sign in to comment.