mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
chore: silence getGitVersion
for docker env runtime
This commit is contained in:
parent
cb6b3340f0
commit
fbc9c868c4
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue