Skip to content

Commit

Permalink
use git clone instead of gh repo clone
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 20, 2024
1 parent 9c0d580 commit aa11bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/providers/src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Github {

let mut child = Command::new("sh")
.arg("-c")
.arg(format!("pkgx gh repo clone {} {} {}", name, dest, checkout))
.arg(format!("pkgx git clone https://github.com/{} {} {}", name, dest, checkout))
.current_dir(format!("{}/.envhub/github/{}", home, user))
.stdin(Stdio::inherit())
.stdout(Stdio::inherit())
Expand Down

0 comments on commit aa11bef

Please sign in to comment.