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

Commit 45761e0

Browse files
authored
Merge pull request #338 from github/fixes/project-text-serialization
Fixing crash during git init
2 parents b9a3733 + ebfec44 commit 45761e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.Api/RepositoryLocator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public void Run()
4343
ApplicationManager.GitClient.Init()
4444
.Then(ApplicationManager.GitClient.SetConfig("merge.unityyamlmerge.cmd", yamlMergeCommand, GitConfigSource.Local))
4545
.Then(ApplicationManager.GitClient.SetConfig("merge.unityyamlmerge.trustExitCode", "false", GitConfigSource.Local))
46-
.Then(ApplicationManager.GitClient.LfsInstall()).Then(new ActionTask(token, _ => {
47-
SetProjectToTextSerialization();
48-
46+
.Then(ApplicationManager.GitClient.LfsInstall())
47+
.ThenInUI(SetProjectToTextSerialization)
48+
.Then(new ActionTask(token, _ => {
4949
AssemblyResources.ToFile(ResourceType.Generic, ".gitignore", targetPath);
5050
AssemblyResources.ToFile(ResourceType.Generic, ".gitattributes", targetPath);
5151

0 commit comments

Comments
 (0)