Skip to content

Commit 274d499

Browse files
committed
chore: remove dead writeJsonc function
1 parent 9ac8ee0 commit 274d499

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/cli/setup.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ function readJsonc(path: string): Record<string, unknown> {
3232
}
3333
}
3434

35-
function writeJsonc(path: string, data: Record<string, unknown>): void {
36-
writeFileSync(path, `${JSON.stringify(data, null, 2)}\n`);
37-
}
38-
3935
// ─── Config Manipulators ──────────────────────────────────
4036

4137
function addPluginToOpenCodeConfig(configPath: string, format: "json" | "jsonc" | "none"): void {

0 commit comments

Comments
 (0)