diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-07 16:10:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 16:10:05 +0800 |
| commit | e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1 (patch) | |
| tree | 39e0faa590db7b2b4fdc1e6458a77566252acbd1 /scripts/run-tool.js | |
| parent | 739a832d87c00e3b5977a24bba5654fa5ea7a702 (diff) | |
| download | llm-functions-docker-e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1.tar.gz | |
refactor: py/js entry func name (#31)
Diffstat (limited to 'scripts/run-tool.js')
| -rwxr-xr-x | scripts/run-tool.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
