lib/qonfig/commands/load_from_yaml.rb in qonfig-0.14.0 vs lib/qonfig/commands/load_from_yaml.rb in qonfig-0.15.0
- old
+ new
@@ -36,14 +36,13 @@
def call(data_set, settings)
yaml_data = Qonfig::Loaders::YAML.load_file(file_path, fail_on_unexist: strict)
raise(
Qonfig::IncompatibleYAMLStructureError,
- 'YAML content should have a hash-like structure'
+ 'YAML content must be a hash-like structure'
) unless yaml_data.is_a?(Hash)
yaml_based_settings = build_data_set_klass(yaml_data).new.settings
-
settings.__append_settings__(yaml_based_settings)
end
private