mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 03:53:09 +08:00
tiny fix for config file containing spaces in name
This commit is contained in:
parent
7108076260
commit
36949f4af1
File diff suppressed because it is too large
Load Diff
@ -46,7 +46,7 @@ class Create < Classic
|
||||
@config[:version] = doc.root.attributes["version"]
|
||||
|
||||
doc.root.elements.each do |n|
|
||||
@config[:name] = n.text if n.name == 'name'
|
||||
@config[:name] = n.text.gsub('-','').gsub(' ','') if n.name == 'name'
|
||||
@config[:description] = n.text if n.name == 'description'
|
||||
@config[:icon] = n.attributes["src"] if n.name == 'icon'
|
||||
@config[:content] = n.attributes["src"] if n.name == 'content'
|
||||
|
Loading…
Reference in New Issue
Block a user