| commit | 0736e275fa1735a4e8c9bc201aac6ac54f2e068a | [log] [tgz] |
|---|---|---|
| author | Kevin Moore <kevmoo@google.com> | Fri Jun 01 09:53:25 2018 -0700 |
| committer | Kevin Moore <kevmoo@google.com> | Fri Jun 01 09:53:25 2018 -0700 |
| tree | 11de1a34391b6259ccb591320f9537ed06d31bf5 | |
| parent | 541969ec35ad2e3f86bb0bda260723d9a8801a4d [diff] |
Handle author and authors in a more sane way There is at least one published package with both author & authors set https://pub.dartlang.org/packages/crclib/versions/1.0.0 So we do normalization if both are set, eliminating duplicates and providing reasonable values from both author and authors properties Fixes https://github.com/dart-lang/pubspec_parse/issues/2