diff --git a/server/src/utils.ts b/server/src/utils.ts index 12457d982..3d44ccd5c 100644 --- a/server/src/utils.ts +++ b/server/src/utils.ts @@ -100,8 +100,8 @@ let findBinary = async ( ); const contents = await fsAsync.readFile(compilerInfo, "utf8"); const compileInfo = JSON.parse(contents); - if (compileInfo && compileInfo.runtime_path) { - return compileInfo.runtime_path; + if (compileInfo && compileInfo.bsc_path) { + return compileInfo.bsc_path; } } catch {} }