anchor.diff:          }
         }
   
  -      if (globalResults['release']) {
  +      if (isRelease) {
           configs.add(new BuildConfiguration.local(
             type: BuildType.release,
             platform: BuildPlatform.android,
  
positive.code: import 'package:args/args.dart';
  import 'package:args/command_runner.dart';
  import 'package:logging/logging.dart';
  
  import '../artifacts.dart';
  import '../build_configuration.dart';
  
negative.code:   }
  
    List<BuildConfiguration> _createBuildConfigurations(ArgResults globalResults) {
      String enginePath = globalResults['engine-src-path'];
      bool isDebug = globalResults['debug'];
      bool isRelease = globalResults['release'];
  
      if (enginePath == null && globalResults['local-build']) {
        Directory flutterDir = new Directory(path.join(globalResults['package-root'], 'flutter'));
        String realFlutterPath = flutterDir.resolveSymbolicLinksSync();
  
        enginePath = path.dirname(path.dirname(path.dirname(path.dirname(realFlutterPath))));
        if (enginePath == '/' || enginePath.isEmpty)
          enginePath = null;
      }
  
      List<BuildConfiguration> configs = <BuildConfiguration>[];
  
  