Skip to content

Commit

Permalink
fix: windows forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
melMass committed Oct 19, 2023
1 parent e7e6e63 commit 684f005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nu-git-manager/git/url.nu
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export def get-fetch-push-urls [
let base_url = {
scheme: null,
host: $repository.host,
path: ([$repository.owner $repository.group $repository.repo] | compact | path join)
path: ([$repository.owner $repository.group $repository.repo] | compact | path join | str replace '\' '/')
}
let http_url = $base_url | update scheme "https" | url join
let ssh_url = $base_url | update scheme "ssh" | url join
Expand Down

0 comments on commit 684f005

Please sign in to comment.