Skip to content

Commit f4077af

Browse files
committed
Remove dupe function
1 parent ccef702 commit f4077af

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
@@ -248,10 +248,6 @@ function pwshEncodedCommand(command: string) {
248248
return Buffer.from(command, "utf16le").toString("base64")
249249
}
250250

251-
function pwshEncodedCommand(command: string) {
252-
return Buffer.from(command, "utf16le").toString("base64")
253-
}
254-
255251
function cmd(shell: string, name: string, command: string, cwd: string, env: NodeJS.ProcessEnv) {
256252
if (process.platform === "win32" && PS.has(name)) {
257253
const encoded = pwshEncodedCommand(command)

0 commit comments

Comments
 (0)