Commit cae4b721 authored by Leo Iannacone's avatar Leo Iannacone

check and get also data.package.orig_name

parent d4d11e93
......@@ -13,6 +13,7 @@ var Utils = {
data.package = {}
data.package.name = info[1];
data.package.version = info[2];
data.package.orig_name = data.package.name + '_' + data.package.version
}
if (info.length >= 4) {
data.file = {}
......@@ -39,7 +40,7 @@ var Utils = {
},
check_data_package: function(data) {
return Utils.check_data_distribution(data) && data.package && data.package.name && data.package.version
return Utils.check_data_distribution(data) && data.package && data.package.name && data.package.version && data.package.orig_name
},
check_data_file: function(data) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment