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/create-tool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/create-tool.sh') diff --git a/scripts/create-tool.sh b/scripts/create-tool.sh index b6d56dc..ff0ce5e 100755 --- a/scripts/create-tool.sh +++ b/scripts/create-tool.sh @@ -75,7 +75,7 @@ create_js() { * @typedef {Object} Args${properties} * @param {Args} args */ -exports.main = function main(args) { +exports.run = function run(args) { console.log(args); } EOF -- cgit v1.2.3