chore: rm dead code (#11849)
This commit is contained in:
parent
aadd2e13d7
commit
f86f654cda
1 changed files with 0 additions and 2 deletions
|
|
@ -5,12 +5,10 @@ import path from "path"
|
||||||
import { Filesystem } from "../util/filesystem"
|
import { Filesystem } from "../util/filesystem"
|
||||||
import { NamedError } from "@opencode-ai/util/error"
|
import { NamedError } from "@opencode-ai/util/error"
|
||||||
import { readableStreamToText } from "bun"
|
import { readableStreamToText } from "bun"
|
||||||
import { createRequire } from "module"
|
|
||||||
import { Lock } from "../util/lock"
|
import { Lock } from "../util/lock"
|
||||||
|
|
||||||
export namespace BunProc {
|
export namespace BunProc {
|
||||||
const log = Log.create({ service: "bun" })
|
const log = Log.create({ service: "bun" })
|
||||||
const req = createRequire(import.meta.url)
|
|
||||||
|
|
||||||
export async function run(cmd: string[], options?: Bun.SpawnOptions.OptionsObject<any, any, any>) {
|
export async function run(cmd: string[], options?: Bun.SpawnOptions.OptionsObject<any, any, any>) {
|
||||||
log.info("running", {
|
log.info("running", {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue