Skip to content

Commit 7a2db05

Browse files
committed
Revert "fix: use correct binaryPath on darwin"
This reverts commit 4825ef2.
1 parent 02d067b commit 7a2db05

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/remote.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,7 @@ export class Remote {
394394
if (this.mode === vscode.ExtensionMode.Production) {
395395
binaryPath = await this.storage.fetchBinary()
396396
} else {
397-
if (os.platform() === "darwin") {
398-
binaryPath = path.join(os.tmpdir(), "coder", "coder")
399-
} else {
400-
binaryPath = path.join(os.tmpdir(), "coder")
401-
}
397+
binaryPath = path.join(os.tmpdir(), "coder")
402398
}
403399
if (!binaryPath) {
404400
throw new Error("Failed to fetch the Coder binary!")

0 commit comments

Comments
 (0)