Skip to content

Commit

Permalink
remove parts
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Sep 26, 2024
1 parent 91d6f24 commit 38913c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/pub_worker/lib/src/bin/dartdoc_wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ Future<void> postProcessDartdoc({
await tmpTar.rename(p.join(outputFolder, 'doc', 'package.tar.gz'));
} catch (e, st) {
// We are likely out of free disk space.
//
// One of the isolate has already stopped, the other may be still working.
// By deleting the dartdoc-generated content, the post-processing of the other
// isolate will stop too.
await Directory(docDir).deleteIgnoringErrors(recursive: true);

// Cleanup the content as we won't use it.
await tmpOutDir.deleteIgnoringErrors(recursive: true);
await tmpTar.deleteIgnoringErrors();
Expand Down

0 comments on commit 38913c5

Please sign in to comment.