| 1 | package Minilla::Release::CheckOrigin; | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use Minilla::Logger; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 0 | ▶ | sub run { | ||||||||
|
Subroutine
run: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 8 | 0 | my ($self, $project, $opts) = @_; | |||||||||
| 9 | |||||||||||
| 10 | 0 | my $remotes = `git remote`; | |||||||||
| 11 | 0 | ▶ | if ($remotes !~ /^origin$/m) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | 0 | errorf("No git remote named origin.\n"); | |||||||||
| 13 | } | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 1 | 1; | |||||||||
| 17 | |||||||||||