Skip to content

Commit

Permalink
fix: handle missing config in CLI validate command for destinations (
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Dec 3, 2024
1 parent f2529a6 commit ccc5c6a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions airbyte/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,7 @@ def _resolve_destination_job(
config: The path to a configuration file for the named source or destination.
pip_url: Optional. A location from which to install the connector.
"""
if not config:
raise PyAirbyteInputError(
message="No configuration found.",
)

config_dict = _resolve_config(config)
config_dict = _resolve_config(config) if config else None

if destination and (destination.startswith(".") or "/" in destination):
# Treat the destination as a path.
Expand Down

0 comments on commit ccc5c6a

Please sign in to comment.