Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit d4eef38

Browse files
Revert "Fixing publish from a mac"
This reverts commit cac6b23.
1 parent d4d890b commit d4eef38

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PUblishView.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,7 @@ public override void OnGUI()
222222
return;
223223
}
224224

225-
var repositoryCloneUrl = Environment.IsWindows ? repository.CloneUrl : repository.SshUrl;
226-
227-
GitClient.RemoteAdd("origin", repositoryCloneUrl)
225+
GitClient.RemoteAdd("origin", repository.CloneUrl)
228226
.Then(GitClient.Push("origin", Repository.CurrentBranch.Value.Name))
229227
.ThenInUI(Parent.Finish)
230228
.Start();

0 commit comments

Comments
 (0)