hasGitInstalled static method
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.');
}
}
static void hasGitInstalled() {
if (run('which', arguments: ['git']).split(p.separator).last.trim() !=
'git') {
throw GrinderException('The git cli executable could not be located.');
}
}