From e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 7 Jun 2024 16:10:05 +0800 Subject: refactor: py/js entry func name (#31) --- scripts/run-tool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/run-tool.js') diff --git a/scripts/run-tool.js b/scripts/run-tool.js index f99b2e0..d0cafa4 100755 --- a/scripts/run-tool.js +++ b/scripts/run-tool.js @@ -71,5 +71,5 @@ try { process.exit(1); } -const { main } = loadFunc(funcName); -main(args); +const { run } = loadFunc(funcName); +run(args); -- cgit v1.2.3