From d8785e3456b066a48db0a710dd0a8953b645fc42 Mon Sep 17 00:00:00 2001 From: Priyank Chodisetti Date: Sun, 18 May 2025 19:17:46 -0700 Subject: [PATCH] [BUG] Correctly check arguments for chroma update, to correctly trigger update --- chromadb/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromadb/cli/cli.py b/chromadb/cli/cli.py index 69329aa2c2c..94cf889425e 100644 --- a/chromadb/cli/cli.py +++ b/chromadb/cli/cli.py @@ -47,7 +47,7 @@ def update(): def app(): args = sys.argv - if ["chroma", "update"] in args: + if len(args) >= 2 and args[0] == "chroma" and args[1] == "update": update() return try: