hasGitInstalled static method

void hasGitInstalled()

Implementation

static void hasGitInstalled() {
  if (run('which', arguments: ['git']).split(p.separator).last.trim() !=
      'git') {
    throw GrinderException('The git cli executable could not be located.');
  }
}