Skip to content
Snippets Groups Projects
Commit fbc9c868 authored by timothycarambat's avatar timothycarambat
Browse files

chore: silence `getGitVersion` for docker env runtime

parent cb6b3340
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ function utilEndpoints(app) { ...@@ -23,6 +23,7 @@ function utilEndpoints(app) {
} }
function getGitVersion() { function getGitVersion() {
if (process.env.ANYTHING_LLM_RUNTIME === "docker") return "--";
try { try {
return require("child_process") return require("child_process")
.execSync("git rev-parse HEAD") .execSync("git rev-parse HEAD")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment