diff --git a/container/build_ts_js.py b/container/build_ts_js.py index 4dbce9eadc2fc9d5af23088c12333e60b3983e75..f24320aebe1259eb8675b498a63428682bc02b4c 100755 --- a/container/build_ts_js.py +++ b/container/build_ts_js.py @@ -36,10 +36,10 @@ if __name__ == '__main__': help='the converted target file') input_arguments = parser.parse_args() - node = '../../../../prebuilts/build-tools/common/nodejs/\ + NODE_PATH = '../../../../prebuilts/build-tools/common/nodejs/\ node-v12.18.4-linux-x64/bin/node' - tsc = '../../../../ark/ts2abc/ts2panda/node_modules/typescript/bin/tsc' - cmd = [node, tsc] + TSC_PATH = '../../../../ark/ts2abc/ts2panda/node_modules/typescript/bin/tsc' + cmd = [NODE_PATH, TSC_PATH] run_command(cmd) for dirname in os.listdir("./jscode") :