You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Minor doc tidies
* Simplify a little bit of code regarding error messages
* Remove redundant logic for processing profile logic
* Minor fix to test
* Reorder readers and priv methods
* Remove deprecation notice from usage formatter which uses step key class
raise(YmlLoadError,"cucumber.yml was found, but could not be parsed with ERB. Please refer to cucumber's documentation on correct profile usage.\n#{$ERROR_INFO.inspect}")
raise(YmlLoadError,"cucumber.yml was found, but could not be parsed with ERB. Please refer to cucumber's documentation on correct profile usage.\n#{$ERROR_INFO.inspect}")
82
86
end
83
87
84
88
defload_configuration
85
-
require'yaml'
86
-
begin
87
-
@cucumber_yml=YAML.load(@cucumber_erb)
88
-
rescueStandardError
89
-
raise(YmlLoadError,"cucumber.yml was found, but could not be parsed. Please refer to cucumber's documentation on correct profile usage.\n")
90
-
end
89
+
@cucumber_yml=YAML.load(@cucumber_erb)
90
+
rescueStandardError
91
+
raise(YmlLoadError,"cucumber.yml was found, but could not be parsed. Please refer to cucumber's documentation on correct profile usage.")
91
92
end
92
93
93
-
# Locates cucumber.yml file. The file can end in .yml or .yaml,
94
-
# and be located in the current directory (eg. project root) or
95
-
# in a .config/ or config/ subdirectory of the current directory.
0 commit comments