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

Commit ca4f1e1

Browse files
Correcting and simplifying another path expression
1 parent eaefb1d commit ca4f1e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/GitHub.Api/Application/ApplicationManagerBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ public ITask InitializeRepository()
8888

8989
var targetPath = NPath.CurrentDirectory;
9090

91-
var unityYamlMergeExec = Environment.IsWindows
92-
? Environment.UnityApplicationContents.Parent.Combine("Tools", "UnityYAMLMerge.exe")
93-
: Environment.UnityApplicationContents.Combine("Tools", "UnityYAMLMerge");
91+
var unityYamlMergeExec = Environment.UnityApplicationContents.Combine("Tools", "UnityYAMLMerge" + Environment.ExecutableExtension);
9492

9593
var yamlMergeCommand = Environment.IsWindows
9694
? $@"'{unityYamlMergeExec}' merge -p ""$BASE"" ""$REMOTE"" ""$LOCAL"" ""$MERGED"""

0 commit comments

Comments
 (0)