chore(publishing): fix pubspec authors field

This commit is contained in:
yjbanov 2015-05-12 15:05:32 -07:00
parent 032f8b7840
commit 7dc524ed58
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ var BASE_PACKAGE_JSON = require('../../package.json');
doc['version'] = BASE_PACKAGE_JSON.version;
doc['homepage'] = BASE_PACKAGE_JSON.homepage;
doc['authors'] = Object.keys(BASE_PACKAGE_JSON.contributors).map(function(name) {
return name + ' <' + BASE_PACKAGE_JSON.contributors[name] + '>';
return BASE_PACKAGE_JSON.contributors[name];
});
fs.writeFileSync(pubspecFile, yaml.safeDump(doc));