anchor.diff:          );
         }
       } finally {
  +      // Cleanup the temporary SDK
  +      try {
  +        temporaryFlutterSdk?.deleteSync(recursive: true);
  +      } on FileSystemException {
  +        // Failed to delete temporary SDK.
  +      }
         tempDir.deleteSync(recursive: true);
       }
     }
  
positive.code:         offline: boolArgDeprecated('offline'),
          flutterRootOverride: temporaryFlutterSdk?.path,
        );
        // Cleanup the temporary SDK
        try {
          temporaryFlutterSdk?.deleteSync(recursive: true);
        } on FileSystemException {
          // Failed to delete temporary SDK.
        }
  
        if (doUpgrade) {
          // If upgrading, we run "pub deps --style=compact" on the result. We
  
negative.code:       );
        // Create a synthetic flutter SDK so that transitive flutter SDK
        // constraints are not affected by this upgrade.
        if (doUpgrade) {
          temporaryFlutterSdk = createTemporaryFlutterSdk(
            globals.logger,
  