lib/license/cli/core.rb in license-cli-0.1.0 vs lib/license/cli/core.rb in license-cli-0.1.1

- old
+ new

@@ -76,10 +76,10 @@ base_fields.each do |raw_field| field = raw_field[1..-2] field_data = LICENSE_FIELDS[field] field_data ||= [field, ""] - fields[field] = prompt.ask( + fields[raw_field] = prompt.ask( field_data[0] + "?", default: field_data[1], ) end fields.each do |field, value|