... | ... |
@@ -42,13 +42,8 @@ sub startup { |
42 | 42 |
# Git command |
43 | 43 |
my $git = Gitprep::Git->new; |
44 | 44 |
my $git_bin = $conf->{basic}{git_bin} ? $conf->{basic}{git_bin} : $git->search_bin; |
45 |
- unless ($git_bin) { |
|
46 |
- my $error = "Can't detect git command. set git_bin in gitprep.conf"; |
|
47 |
- $self->log->error($error); |
|
48 |
- croak $error; |
|
49 |
- } |
|
50 | 45 |
unless (-e $git_bin) { |
51 |
- my $error = "$git_bin is not found"; |
|
46 |
+ my $error = "Can't detect or found git command. set git_bin in gitprep.conf"; |
|
52 | 47 |
$self->log->error($error); |
53 | 48 |
croak $error; |
54 | 49 |
} |