def _RunPubCacheRepair()

in annotated_steps.py [0:0]


def _RunPubCacheRepair(bot_info, path):
  pub = GetPub(bot_info)
  extra_env = GetPubEnv(bot_info)
  with BuildStep('Pub cache repair'):
    # For now, assume pub
    with ChangedWorkingDirectory(path):
      args = [pub, 'cache', 'repair']
      RunProcess(args, extra_env=extra_env)