Skip to content

Commit 26f17b4

Browse files
committed
nits
1 parent 58708aa commit 26f17b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bin/dartdoc.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ main(List<String> arguments) async {
4747
}
4848

4949
final bool sdkDocs = args['sdk-docs'];
50+
final bool showProgress = args['show-progress'];
5051

51-
final showProgress = args['show-progress'] as bool;
52-
53-
var readme = args['sdk-readme'] as String;
52+
final String readme = args['sdk-readme'];
5453
if (readme != null && !(new File(readme).existsSync())) {
5554
stderr.writeln(
5655
" fatal error: unable to locate the SDK description file at $readme.");

0 commit comments

Comments
 (0)