anchor.diff:  import 'dart:io';
   
   import 'package:grinder/grinder.dart';
  +import 'package:path/path.dart' as path;
   
  -import '../bin/main.dart';
  -import '../bin/perform_checks.dart';
  +import '../bin/manifest.dart';
  +import '../lib/environment.dart';
   
  +
  +// Helpers *******************************************************************
  +/// Returns the path to the project's top-level directory.
  +String get topLevel {
  +  var scriptRoot = path.dirname(Platform.script.toFilePath());
  +  return path.absolute(path.normalize(path.join(scriptRoot, '../../..')));
  +}
  +
  +File copySync(File source, File destination) {
  +  destination.createSync(recursive: true);
  +  return source.copySync(destination.path);
  +}
  +
  +String get loggerLevelFile {
  +  var where = path.join(topLevel, 'sublime_plugin_lib/__init__.py');
  +  return path.normalize(where);
  +}
  +
  +bool checkLoggingLevelIsError() {
  +  var file = new File(loggerLevelFile);
  +  var regex = new RegExp(r'setLevel\(logging\.ERROR\)');
  +  return regex.hasMatch(file.readAsStringSync());
  +}
  +
  +// Task Definition ***********************************************************
   // TODO(guillermooo): use grinder "decorators".
   main([List<String> args]) {
     task('check', check);
  
positive.code: }
  
  void do_deploy(GrinderContext context) {
    deploy();
  }
  
negative.code:   startGrinder(args);
  }
  
  // Task Implementation *******************************************************
  void check(GrinderContext context) {
    if (!checkLoggingLevelIsError()) {
      var msg =
  