opencode-agent[bot] 6 месяцев назад
Родитель
Сommit
0d0d0578eb

+ 0 - 1
packages/app/src/context/global-sync.tsx

@@ -52,7 +52,6 @@ type GlobalStore = {
   reload: undefined | "pending" | "complete"
   reload: undefined | "pending" | "complete"
 }
 }
 
 
-
 function createGlobalSync() {
 function createGlobalSync() {
   const globalSDK = useGlobalSDK()
   const globalSDK = useGlobalSDK()
   const platform = usePlatform()
   const platform = usePlatform()

+ 4 - 4
packages/app/src/context/global-sync/bootstrap.ts

@@ -134,10 +134,10 @@ export async function bootstrapDirectory(input: {
   } catch (err) {
   } catch (err) {
     console.error("Failed to bootstrap instance", err)
     console.error("Failed to bootstrap instance", err)
     const project = getFilename(input.directory)
     const project = getFilename(input.directory)
-    showToast({ 
-      variant: "error", 
-      title: `Failed to reload ${project}`, 
-      description: formatServerError(err) 
+    showToast({
+      variant: "error",
+      title: `Failed to reload ${project}`,
+      description: formatServerError(err),
     })
     })
     input.setStore("status", "partial")
     input.setStore("status", "partial")
     return
     return