Skip to content

Commit

Permalink
chore: update link to forked repo index
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Feb 24, 2024
1 parent a19085f commit 730f194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ open class DefaultRepository: Repository, KLogging() {
logger.info { "Fetching index from github" }
try {
val indexContent =
getUrl("https://raw.githubusercontent.com/pact-foundation/pact-plugins/main/repository/repository.index")
getUrl("https://raw.githubusercontent.com/you54f/pact-plugins/main/repository/repository.index")
.execute()
.returnContent()
.asString()
val indexSha =
getUrl("https://raw.githubusercontent.com/pact-foundation/pact-plugins/main/repository/repository.index.sha256")
getUrl("https://raw.githubusercontent.com/you54f/pact-plugins/main/repository/repository.index.sha256")
.execute()
.returnContent()
.asString()
Expand Down
4 changes: 2 additions & 2 deletions drivers/rust/driver/src/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ fn load_local_index() -> anyhow::Result<PluginRepositoryIndex> {

async fn fetch_index_from_github(http_client: &Client) -> anyhow::Result<PluginRepositoryIndex> {
info!("Fetching index from github");
let index_contents = http_client.get("https://raw.githubusercontent.com/pact-foundation/pact-plugins/main/repository/repository.index")
let index_contents = http_client.get("https://raw.githubusercontent.com/you54f/pact-plugins/main/repository/repository.index")
.send()
.await?
.text()
.await?;

let index_sha = http_client.get("https://raw.githubusercontent.com/pact-foundation/pact-plugins/main/repository/repository.index.sha256")
let index_sha = http_client.get("https://raw.githubusercontent.com/you54f/pact-plugins/main/repository/repository.index.sha256")
.send()
.await?
.text()
Expand Down

0 comments on commit 730f194

Please sign in to comment.