Codebase list libdist-inkt-role-git-perl / 93f5fbd
remove some whitespace Kjetil Kjernsmo 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1111 use Git::Sub qw(tag status log);
1212 use Types::Standard 'Bool';
1313 use namespace::autoclean;
14
14
1515 has source_control_is_git => (
1616 is => "ro",
1717 isa => Bool,
1818 lazy => 1,
1919 builder => "_build_source_control_is_git",
2020 );
21
21
2222 sub _build_source_control_is_git {
2323 my $self = shift;
2424 !! $self->rootdir->child(".git")->is_dir;
2525 }
26
26
2727 after BUILD => sub {
2828 my $self = shift;
2929 return unless $self->source_control_is_git;