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) --- tools/demo_tool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/demo_tool.js') diff --git a/tools/demo_tool.js b/tools/demo_tool.js index f8fd283..d47fa59 100644 --- a/tools/demo_tool.js +++ b/tools/demo_tool.js @@ -11,6 +11,6 @@ * @property {string[]} [array_optional] - Define a optional string array property * @param {Args} args */ -exports.main = function main(args) { +exports.run = function run(args) { console.log(args); } -- cgit v1.2.3