Skip to content

Commit

Permalink
fix read
Browse files Browse the repository at this point in the history
  • Loading branch information
Urkem committed Oct 12, 2023
1 parent 6627fb7 commit 47c596c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/shared/utils/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def validate_yaml_with_jsonschema(
import pkg_resources

schema_file = pkg_resources.resource_filename(package_name, schema_path)
schema_content = rasa.shared.utils.io.read_yaml_file(schema_file)
schema_content = rasa.shared.utils.io.read_json_file(schema_file)

try:
# we need "rt" since
Expand Down

0 comments on commit 47c596c

Please sign in to comment.