fix: delete 9 dead functions with zero callers (#22697)

This commit is contained in:
Kit Langton
2026-04-15 22:01:02 -04:00
committed by GitHub
parent 70aeebf2df
commit 34213d4446
8 changed files with 0 additions and 107 deletions

View File

@@ -85,18 +85,6 @@ function prepareBinDirectory(binaryName) {
return { binDir, targetPath }
}
function symlinkBinary(sourcePath, binaryName) {
const { targetPath } = prepareBinDirectory(binaryName)
fs.symlinkSync(sourcePath, targetPath)
console.log(`opencode binary symlinked: ${targetPath} -> ${sourcePath}`)
// Verify the file exists after operation
if (!fs.existsSync(targetPath)) {
throw new Error(`Failed to symlink binary to ${targetPath}`)
}
}
async function main() {
try {
if (os.platform() === "win32") {