Stone/GitSync

var dir = path.CombinePath(".github").GetFullPath();
大石头 authored at 2026-01-03 00:31:48
114a626
Tree
1 Parent(s) b27d4d9
Summary: 1 changed files with 1 additions and 1 deletions.
Modified +1 -1
Modified +1 -1
diff --git a/GitSync/Services/ProjectService.cs b/GitSync/Services/ProjectService.cs
index 40fcc70..cff590f 100644
--- a/GitSync/Services/ProjectService.cs
+++ b/GitSync/Services/ProjectService.cs
@@ -225,7 +225,7 @@ public class ProjectService(IEventProvider eventProvider, ITracer tracer)
 
     public void UpdateCopilotInstructions(Repo repo, String path)
     {
-        var dir = ".github".GetFullPath();
+        var dir = path.CombinePath(".github").GetFullPath();
         if (!Directory.Exists(dir)) return;
 
         var target = dir.CombinePath("copilot-instructions.md").GetFullPath();