Skip to content

Commit 1aa1989

Browse files
committed
feat: return plain string URLs from Pact::PactBroker.fetch_pact_uris
1 parent cc93f8e commit 1aa1989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pact/pact_broker.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ module PactBroker
66
extend self
77

88
def fetch_pact_uris *args
9-
Pact::PactBroker::FetchPacts.call(*args)
9+
Pact::PactBroker::FetchPacts.call(*args).collect(&:uri)
1010
end
1111

1212
def fetch_wip_pact_uris *args
13-
Pact::PactBroker::FetchWipPacts.call(*args)
13+
Pact::PactBroker::FetchWipPacts.call(*args).collect(&:uri)
1414
end
1515
end
1616
end

0 commit comments

Comments
 (0)