Skip to content

Commit 018d3c5

Browse files
committed
Use bsc.exe to run super errors build test.
See #5394
1 parent 6d81258 commit 018d3c5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

jscomp/build_tests/super_errors/input.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ const path = require('path')
33
const child_process = require('child_process')
44

55

6-
var bsc = path.join(__dirname,'..','..','..','bsc')
6+
var root = path.join(__dirname,'..','..','..')
7+
var bsc = path.join(
8+
root,
9+
process.platform === "darwin" && process.arch === "arm64"
10+
? process.platform + process.arch
11+
: process.platform,
12+
"bsc.exe"
13+
);
14+
715
// var refmt = path.join(__dirname,'..','..','..','lib','refmt.exe')
816

917

0 commit comments

Comments
 (0)