Skip to content

Commit 0324505

Browse files
committed
Remove dupe function
1 parent 78d9de7 commit 0324505

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/opencode/src/tool/bash.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ function pwshEncodedCommand(command: string) {
252252
return Buffer.from(command, "utf16le").toString("base64")
253253
}
254254

255-
function pwshEncodedCommand(command: string) {
256-
return Buffer.from(command, "utf16le").toString("base64")
257-
}
258-
259255
function cmd(shell: string, name: string, command: string, cwd: string, env: NodeJS.ProcessEnv) {
260256
if (process.platform === "win32" && PS.has(name)) {
261257
const encoded = pwshEncodedCommand(command)

0 commit comments

Comments
 (0)