From 7dc524ed5888c217ba40f721ccc1494193432d66 Mon Sep 17 00:00:00 2001 From: yjbanov Date: Tue, 12 May 2015 15:05:32 -0700 Subject: [PATCH] chore(publishing): fix pubspec authors field --- scripts/publish/pubspec_cleaner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish/pubspec_cleaner.js b/scripts/publish/pubspec_cleaner.js index 6491a70361..165f120e86 100644 --- a/scripts/publish/pubspec_cleaner.js +++ b/scripts/publish/pubspec_cleaner.js @@ -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));