Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index 590c92b13798e8171ef8f29cdb6ef2737cebcd45..6aa8ca726baa2bb26943a2920e6867fad16037af 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -1159,7 +1159,7 @@ class TarFileDescriptor extends Descriptor { |
var sourceStream = tar.openInputStream(); |
pipeInputToInput(sourceStream, |
sinkStream, |
- () => tempDir.deleteRecursively()); |
+ () => tempDir.delete(recursive: true)); |
}); |
return sinkStream; |
} |