Merge pull request #441 from thorsteneckel/bugfix-params_file_multi_hyphen
Fixed issue #440 - broken multi hyphen options in param file.
This commit is contained in:
commit
fef7a5d02f
|
@ -62,7 +62,7 @@ module GitHubChangelogGenerator
|
|||
# @return [Array<Symbol, String>]
|
||||
def extract_pair(line)
|
||||
key, value = line.split("=", 2)
|
||||
[key.sub("-", "_").to_sym, value.gsub(/[\n\r]+/, "")]
|
||||
[key.tr("-", "_").to_sym, value.gsub(/[\n\r]+/, "")]
|
||||
end
|
||||
|
||||
KNOWN_ARRAY_KEYS = [:exclude_labels, :include_labels, :bug_labels,
|
||||
|
|
Loading…
Reference in New Issue
Block a user