Skip to content

Commit d58a905

Browse files
committed
Use bsc_path to return bsc.exe
1 parent b20cbf8 commit d58a905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ let findBinary = async (
100100
);
101101
const contents = await fsAsync.readFile(compilerInfo, "utf8");
102102
const compileInfo = JSON.parse(contents);
103-
if (compileInfo && compileInfo.runtime_path) {
104-
return compileInfo.runtime_path;
103+
if (compileInfo && compileInfo.bsc_path) {
104+
return compileInfo.bsc_path;
105105
}
106106
} catch {}
107107
}

0 commit comments

Comments
 (0)