File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
## 6.2.0-dev
2
2
3
- * Stop generating a null-safety badge for elements
4
- in a null-safe library. (#3295 )
3
+ * Stop generating a null-safety badge for elements in a null-safe library.
4
+ (#3295 )
5
5
* Use a sun icon for switching to the light theme. (#3309 )
6
6
* Standardize the search icon style to a new SVG. (#3302 )
7
7
* Remove CSS classes no longer used in dartdoc generated content. (#3302 )
8
+ * Fix an issue where we created a temporary directory when performing a dry run.
9
+ (#3333 )
8
10
9
11
## 6.1.5
10
12
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ class DartdocProgramOptionContext extends DartdocGeneratorOptionContext
59
59
super .optionSet, super .resourceProvider)
60
60
: super .fromDefaultContextLocation ();
61
61
62
+ /// Whether to generate docs or perform a dry run.
62
63
bool get generateDocs => optionSet['generateDocs' ].valueAt (context);
63
64
bool get help => optionSet['help' ].valueAt (context);
64
65
bool get version => optionSet['version' ].valueAt (context);
Original file line number Diff line number Diff line change @@ -204,9 +204,6 @@ class Dartdoc {
204
204
var libs = packageGraph.libraryCount;
205
205
logInfo ("Initialized dartdoc with $libs librar${libs == 1 ? 'y' : 'ies' }" );
206
206
207
- // Create the out directory.
208
- if (! _outputDir.exists) _outputDir.create ();
209
-
210
207
runtimeStats.startPerfTask ('generator.generate' );
211
208
await generator.generate (packageGraph);
212
209
runtimeStats.endPerfTask ();
You can’t perform that action at this time.
0 commit comments