anchor.diff:          print("Could not tell if package was uploaded or error happened.");
           completer.complete(false);
         }
  -
  -      // @damondouglas do we still need 336?:
  -      //p.stdout.close();
  -      
  -      // @damondouglas replacing 339 ..catchError((error):
       },onError:(error){
         print("catchError = $error");
         completer.completeError(error);
  
positive.code:   var completer = new Completer<String>();
    promptPassword().then((pw) {
      var client = new HttpClient();
  
      client.addCredentials(Uri.parse("https://api.github.com/authorizations"), "realm", new HttpClientBasicCredentials(gituser, pw));
  
      Future<HttpClientRequest> connection = client.openUrl("POST", Uri.parse("https://api.github.com/authorizations"));
      
      connection
        .then((request){
          var data = JSON.stringify({"scopes":["repo"],"note":"API Client Generator"});
          request.headers.set(HttpHeaders.CONTENT_TYPE, "application/json");
          request.headers.set(HttpHeaders.CONTENT_LENGTH, "${data.length}");
          
  
negative.code:       }
        
        if (stdoutBuffer.toString().contains(r"Are you ready to upload your package")) {
          p.stdin.write('y\n');
          
        } else if (stdoutBuffer.toString().contains(r"warnings. Upload anyway")) {
          p.stdin.write('y\n');
        }
        
      });
      
      p.exitCode.then((code){
        if (pubVerbose) {
          print("onExit: pub publish");
  