chore: silence getGitVersion for docker env runtime

This commit is contained in:
timothycarambat 2024-07-03 11:50:31 -07:00
parent cb6b3340f0
commit fbc9c868c4

View file

@ -23,6 +23,7 @@ function utilEndpoints(app) {
}
function getGitVersion() {
if (process.env.ANYTHING_LLM_RUNTIME === "docker") return "--";
try {
return require("child_process")
.execSync("git rev-parse HEAD")