Skip to content

Commit 37cf511

Browse files
authored
fix: resolve issue in connector dir discovery (#603)
1 parent 7538d27 commit 37cf511

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎airbyte_cdk/utils/connector_paths.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def _find_in_adjacent_dirs(current_dir: Path) -> Path | None:
6969

7070
current_dir = from_dir.resolve().absolute()
7171
while current_dir != current_dir.parent: # abort when we reach file system root
72+
if _is_airbyte_repo_root(current_dir):
73+
return current_dir
74+
7275
found_dir = _find_in_adjacent_dirs(current_dir)
7376
if found_dir:
7477
return found_dir

0 commit comments

Comments
 (0)