refactor: migrate cli/cmd/run.ts from Bun.file() to Filesystem/stat modules (#14155)

This commit is contained in:
Dax
2026-02-18 12:22:46 -05:00
committed by GitHub
parent a5c15a23e4
commit 472d01fbaf
2 changed files with 5 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
import path from "path"
import { exec } from "child_process"
import { Filesystem } from "../../util/filesystem"
import * as prompts from "@clack/prompts"
import { map, pipe, sortBy, values } from "remeda"
import { Octokit } from "@octokit/rest"
@@ -360,7 +361,7 @@ export const GithubInstallCommand = cmd({
? ""
: `\n env:${providers[provider].env.map((e) => `\n ${e}: \${{ secrets.${e} }}`).join("")}`
await Bun.write(
await Filesystem.write(
path.join(app.root, WORKFLOW_FILE),
`name: opencode