mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
chore: generate
This commit is contained in:
@@ -131,14 +131,11 @@ describe("Format", () => {
|
||||
const a = yield* provideTmpdirInstance(() => Format.Service.use((fmt) => fmt.status()), {
|
||||
config: { formatter: false },
|
||||
})
|
||||
const b = yield* provideTmpdirInstance(
|
||||
() => Format.Service.use((fmt) => fmt.status()),
|
||||
{
|
||||
config: {
|
||||
formatter: true,
|
||||
},
|
||||
const b = yield* provideTmpdirInstance(() => Format.Service.use((fmt) => fmt.status()), {
|
||||
config: {
|
||||
formatter: true,
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
expect(a).toEqual([])
|
||||
expect(b.find((item) => item.name === "gofmt")).toBeDefined()
|
||||
|
||||
@@ -11717,8 +11717,7 @@
|
||||
"formatter": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean",
|
||||
"const": false
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
@@ -11760,8 +11759,7 @@
|
||||
"lsp": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean",
|
||||
"const": false
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user