Skip to content

Commit ccc5c6a

Browse files
authored
fix: handle missing config in CLI validate command for destinations (#546)
1 parent f2529a6 commit ccc5c6a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

airbyte/cli.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,7 @@ def _resolve_destination_job(
262262
config: The path to a configuration file for the named source or destination.
263263
pip_url: Optional. A location from which to install the connector.
264264
"""
265-
if not config:
266-
raise PyAirbyteInputError(
267-
message="No configuration found.",
268-
)
269-
270-
config_dict = _resolve_config(config)
265+
config_dict = _resolve_config(config) if config else None
271266

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

0 commit comments

Comments
 (0)