Skip to content

Commit

Permalink
missing config option should error out with user prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
trammell committed Apr 5, 2024
1 parent d59f807 commit 1852f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/cli/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _add_data_validate_parsers(

def _build_training_data_importer(args: argparse.Namespace) -> "TrainingDataImporter":
config = rasa.cli.utils.get_validated_path(
args.config, "config", DEFAULT_CONFIG_PATH, none_is_valid=True
args.config, "config", DEFAULT_CONFIG_PATH, none_is_valid=False
)

# Exit the validation if the domain path is invalid
Expand Down

0 comments on commit 1852f37

Please sign in to comment.