chore: silence getGitVersion for docker env runtime
This commit is contained in:
parent
cb6b3340f0
commit
fbc9c868c4
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user