Explorar el Código

fix(project): await git id cache write (#14977)

Luke Parker hace 8 meses
padre
commit
e718263778
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/opencode/src/project/project.ts

+ 1 - 1
packages/opencode/src/project/project.ts

@@ -138,7 +138,7 @@ export namespace Project {
 
           id = roots[0]
           if (id) {
-            void Filesystem.write(path.join(dotgit, "opencode"), id).catch(() => undefined)
+            await Filesystem.write(path.join(dotgit, "opencode"), id).catch(() => undefined)
           }
         }