diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-08 11:40:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-08 11:40:54 +0800 |
| commit | 8a87890df6e2b5356d4877a311dd8937a92d11a1 (patch) | |
| tree | 13c3412204f0c835974da0930808b454224ab284 /scripts/run-tool.js | |
| parent | 2b5b0f6502cc245b2365e4a8b5fdaaefb9d67b5d (diff) | |
| download | llm-functions-docker-8a87890df6e2b5356d4877a311dd8937a92d11a1.tar.gz | |
feat: rename functions.txt to tools.txt (#35)
Diffstat (limited to 'scripts/run-tool.js')
| -rwxr-xr-x | scripts/run-tool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tool.js b/scripts/run-tool.js index 4a721bc..bc09b5e 100755 --- a/scripts/run-tool.js +++ b/scripts/run-tool.js @@ -68,7 +68,7 @@ function loadEnv(filePath) { async function run(toolPath, toolFunc, toolData) { let mod; - if (os.platform() === "win32") { + if (os.platform() === "win32") { toolPath = `file://${toolPath}`; } try { |
