mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
b3177271d8
commit
cc5cfc6b7d
2 changed files with 1 additions and 3 deletions
|
|
@ -2,8 +2,6 @@ import { cmd } from "@/cli/cmd/cmd"
|
|||
import { Instance } from "@/project/instance"
|
||||
import path from "path"
|
||||
import { Server } from "@/server/server"
|
||||
import { Config } from "@/config/config"
|
||||
import { InstanceBootstrap } from "@/project/bootstrap"
|
||||
|
||||
export const TuiCommand = cmd({
|
||||
command: "$0 [project]",
|
||||
|
|
@ -45,7 +45,7 @@ export const Instance = {
|
|||
await State.dispose(Instance.directory)
|
||||
},
|
||||
async disposeAll() {
|
||||
for (const [key, value] of cache) {
|
||||
for (const [_key, value] of cache) {
|
||||
context.provide(value, async () => {
|
||||
await Instance.dispose()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue