From 9bfa3d5ca5804c597a5c894a6b8abc659013b8f8 Mon Sep 17 00:00:00 2001 From: chenqi Date: Fri, 13 May 2022 14:30:53 +0800 Subject: [PATCH] Fix Container Warning Description Fix build_ts_js.py Warning. Related issue #I57B0I:Fix Container Warning. Signed-off-by: chenqi --- container/build_ts_js.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container/build_ts_js.py b/container/build_ts_js.py index 4dbce9e..f24320a 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") : -- Gitee