We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4302037 + dfd9d97 commit b6d90b2Copy full SHA for b6d90b2
lib/dartdoc.dart
@@ -123,6 +123,11 @@ class DartDoc {
123
"\nDocumented ${libraries.length} librar${libraries.length == 1 ? 'y' : 'ies'} "
124
"in ${seconds.toStringAsFixed(1)} seconds.");
125
126
+ if (libraries.isEmpty) {
127
+ print(
128
+ "\ndartdoc could not find any libraries to document. Run `pub get` and try again.");
129
+ }
130
+
131
return new DartDocResults(packageMeta, package, outputDir);
132
}
133
0 commit comments