Skip to content

Commit cc58b36

Browse files
committed
fix: Remove hacky isSea check for testing the binary
After re-testing the binary on all 3 platforms, it looks like this isn't a problem anymore. Remove our hacky patch See withcatai#466
1 parent ab8fe6c commit cc58b36

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bindings/getLlama.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import process from "process";
22
import path from "path";
3-
import sea from "node:sea";
43
import console from "console";
54
import {createRequire} from "module";
65
import {
@@ -915,9 +914,6 @@ function getShouldTestBinaryBeforeLoading({
915914
platformInfo: BinaryPlatformInfo,
916915
buildMetadata: BuildMetadataFile
917916
}) {
918-
if (sea.isSea()) {
919-
return false;
920-
}
921917
if (platform === "linux") {
922918
if (isPrebuiltBinary)
923919
return true;

0 commit comments

Comments
 (0)