mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:17:25 +08:00
fix: determine cpu cores determination in baseedpyright-check script on macos (#28058)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
|
||||
|
||||
def is_db_command():
|
||||
def is_db_command() -> bool:
|
||||
if len(sys.argv) > 1 and sys.argv[0].endswith("flask") and sys.argv[1] == "db":
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user