Skip to content

Commit c1b3031

Browse files
authored
Merge pull request #1133 from nojaf/fix-bsc_path
Use bsc_path to return bsc.exe
2 parents b20cbf8 + d58a905 commit c1b3031

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)