From 951a0dcc98720e936701c1ae3eb9a10126e6f931 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Sat, 25 Jun 2022 16:53:06 +0800 Subject: [PATCH] sync tkc --- tools/idl_gen/index.js | 6 ++---- tools/idl_gen/tkc.js | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tools/idl_gen/index.js b/tools/idl_gen/index.js index b7db912a7..88fec8f2d 100644 --- a/tools/idl_gen/index.js +++ b/tools/idl_gen/index.js @@ -1,7 +1,6 @@ const fs = require('fs'); const path = require('path'); -const glob = require('glob') -const IDLGen = require('./idl_gen.js') +const IDLGen = require('./idl_gen.js'); let defDirlist = undefined; let outputIDL = 'idl.json'; @@ -22,5 +21,4 @@ if(sourcesPath === '-h' || sourcesPath === '--help') { process.exit(0); } -IDLGen.gen(sourcesPath, outputIDL, defDirlist) - +IDLGen.gen(sourcesPath, outputIDL, defDirlist); diff --git a/tools/idl_gen/tkc.js b/tools/idl_gen/tkc.js index dd4e93ef5..651d3c7c9 100644 --- a/tools/idl_gen/tkc.js +++ b/tools/idl_gen/tkc.js @@ -1,7 +1,6 @@ const fs = require('fs'); const path = require('path'); -const glob = require('glob') -const IDLGen = require('./idl_gen.js') +const IDLGen = require('./idl_gen.js'); let outputIDL = 'tkc.json'; if(process.argv.length == 3) { @@ -20,5 +19,4 @@ let sourcesPath = [ path.normalize(path.join(__dirname, '../../src/debugger')), path.normalize(path.join(__dirname, '../../src/conf_io'))].join(';'); -IDLGen.gen(sourcesPath, outputIDL) - +IDLGen.gen(sourcesPath, outputIDL);