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