Remove obsolete TODO. (#3821)

diff --git a/lib/src/global_packages.dart b/lib/src/global_packages.dart
index e3b03af..1d35144 100644
--- a/lib/src/global_packages.dart
+++ b/lib/src/global_packages.dart
@@ -225,9 +225,6 @@
     );
 
     // Resolve it and download its dependencies.
-    //
-    // TODO(nweiz): If this produces a SolveFailure that's caused by [dep] not
-    // being available, report that as a [dataError].
     SolveResult result;
     try {
       result = await log.spinner(
@@ -240,6 +237,8 @@
           in error.incompatibility.externalIncompatibilities) {
         if (incompatibility.cause != IncompatibilityCause.noVersions) continue;
         if (incompatibility.terms.single.package.name != name) continue;
+        // If the SolveFailure is caused by [dep] not
+        // being available, report that as a [dataError].
         dataError(error.toString());
       }
       rethrow;
diff --git a/lib/src/io.dart b/lib/src/io.dart
index 4a09496..005f6c5 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -917,8 +917,7 @@
     String? workingDirectory,
     Map<String, String>? environment,
     bool runInShell,
-  })
-      fn,
+  }) fn,
   String executable,
   List<String> args, {
   String? workingDir,