GitHub Action 3 месяцев назад
Родитель
Сommit
90c2b26733
1 измененных файлов с 9 добавлено и 7 удалено
  1. 9 7
      packages/opencode/src/cli/cmd/import.ts

+ 9 - 7
packages/opencode/src/cli/cmd/import.ts

@@ -18,13 +18,15 @@ export const ImportCommand = cmd({
   },
   handler: async (args) => {
     await bootstrap(process.cwd(), async () => {
-      let exportData: {
-        info: Session.Info
-        messages: Array<{
-          info: any
-          parts: any[]
-        }>
-      } | undefined
+      let exportData:
+        | {
+            info: Session.Info
+            messages: Array<{
+              info: any
+              parts: any[]
+            }>
+          }
+        | undefined
 
       const isUrl = args.file.startsWith("http://") || args.file.startsWith("https://")