Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
raminqaf committed Jun 6, 2024
1 parent 7be597f commit 8c48042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ nav:
- Migrate from v2 to v3: user/migration-guide/v2-v3.md
- Migrate from v3 to v4: user/migration-guide/v3-v4.md
- Migrate from v4 to v5: user/migration-guide/v4-v5.md
- Migrate from v5 to v6: user/migration-guide/v5-v6.md
- CLI usage: user/references/cli-commands.md
- Editor integration: user/references/editor-integration.md
- CI integration:
Expand Down
2 changes: 1 addition & 1 deletion kpops/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def collect_pipeline_paths(pipeline_paths: Iterable[Path]) -> Iterator[Path]:
:raises: ValueError: If `pipeline_path` is neither a file nor a directory.
"""
for pipeline_path in pipeline_paths:
if pipeline_path.is_file() and pipeline_path.name == PIPELINE_YAML:
if pipeline_path.is_file():
yield pipeline_path
elif pipeline_path.is_dir():
yield from sorted(pipeline_path.glob(f"**/{PIPELINE_YAML}"))
Expand Down

0 comments on commit 8c48042

Please sign in to comment.