File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -64,19 +64,23 @@ def main():
6464 try :
6565 # Load packages configuration
6666 package_yaml = load_packages_yaml ()
67- packages = [
67+
68+ # Clean target directories
69+ clean_target_directories ([
6870 p
6971 for p in package_yaml ["packages" ]
70- if not p .get ("disabled" , False )
71- and p ["repo" ].startswith ("langchain-ai/" )
72+ if p ["repo" ].startswith ("langchain-ai/" )
7273 and p ["repo" ] != "langchain-ai/langchain"
73- ]
74-
75- # Clean target directories
76- clean_target_directories (packages )
74+ ])
7775
7876 # Move libraries to their new locations
79- move_libraries (packages )
77+ move_libraries ([
78+ p
79+ for p in package_yaml ["packages" ]
80+ if not p .get ("disabled" , False )
81+ and p ["repo" ].startswith ("langchain-ai/" )
82+ and p ["repo" ] != "langchain-ai/langchain"
83+ ])
8084
8185 print ("Library sync completed successfully!" )
8286
You can’t perform that action at this time.
0 commit comments