Fix Container Warning

Description
  Fix build_ts_js.py Warning.
Related issue
  #I57B0I:Fix Container Warning.

Signed-off-by: chenqi <chenqi151@huawei.com>
This commit is contained in:
chenqi 2022-05-13 14:30:53 +08:00
parent ebd7384b2f
commit 9bfa3d5ca5

View File

@ -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") :