aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-08 11:40:54 +0800
committerGitHub <noreply@github.com>2024-06-08 11:40:54 +0800
commit8a87890df6e2b5356d4877a311dd8937a92d11a1 (patch)
tree13c3412204f0c835974da0930808b454224ab284 /scripts
parent2b5b0f6502cc245b2365e4a8b5fdaaefb9d67b5d (diff)
downloadllm-functions-docker-8a87890df6e2b5356d4877a311dd8937a92d11a1.tar.gz
feat: rename functions.txt to tools.txt (#35)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tool.js2
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 {