File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 33- Make the PR health output less verbose by collapsing warnings by default.
44- Bump dart_apitool to fix errors with equal types being reported as different.
55- Give comment files in health work.
6+ - Don't ignore workspace pubspecs.
67
78## 0.12.0
89
Original file line number Diff line number Diff line change @@ -62,11 +62,14 @@ class Repository {
6262 if (pubspecFile.existsSync ()) {
6363 var pubspec = yaml.loadYaml (pubspecFile.readAsStringSync ()) as Map ;
6464 var publishTo = pubspec['publish_to' ] as String ? ;
65- if (publishTo != 'none' && ! pubspec.containsKey ('workspace' )) {
65+ if (publishTo != 'none' ) {
66+ print ('Found published package at $directory ' );
6667 packages.add (Package (directory, this ));
67- // There is an assumption here that published, non-workspace packages do
68- // not contain nested published packages.
68+ // There is an assumption here that published packages do not contain
69+ // nested published packages.
6970 return ;
71+ } else {
72+ print ('Ignoring non-published package at $directory ' );
7073 }
7174 }
7275 if (directory.existsSync ()) {
Original file line number Diff line number Diff line change 11name : workspace
2+
3+ publish_to : none
4+
25workspace :
36 - pkg_1
47 - pkg_2
You can’t perform that action at this time.
0 commit comments