potiuk commented on code in PR #46608:
URL: https://github.com/apache/airflow/pull/46608#discussion_r1957075522


##########
scripts/ci/pre_commit/update_providers_build_files.py:
##########
@@ -85,10 +60,7 @@ def _find_new_providers_structure() -> None:
 
 # get all folders from arguments
 for examined_file in file_list:
-    if not examined_file.startswith("providers/src"):
-        _find_new_providers_structure()
-    else:
-        _find_old_providers_structure()
+    _find_new_providers_structure(Path(examined_file))

Review Comment:
   I will find and replace "_new_providers"  and remove all other 
"_old_providers" in a follow-up PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to