diff options
author | Damyan Ivanov <dmn@debian.org> | 2019-07-27 01:59:16 -0300 |
---|---|---|
committer | Utkarsh Gupta <guptautkarsh2102@gmail.com> | 2019-07-27 01:59:16 -0300 |
commit | ce51d5bf55ee28e99e361980ddfe8b2c8632da16 (patch) | |
tree | 33a705be5794c7f5a58140b36772ed76b81df27f | |
parent | 39bf73b172cea74404f7a188a6532a837653c72c (diff) |
Remove version check when generating an application tree
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/883606
This is a privacy breach and serves no real purpose for the package in
Debian/stable
Gbp-Pq: Name no-phone-home.patch
-rw-r--r-- | lib/Dancer2/CLI/Command/gen.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Dancer2/CLI/Command/gen.pm b/lib/Dancer2/CLI/Command/gen.pm index 1535c84e..c4dfab68 100644 --- a/lib/Dancer2/CLI/Command/gen.pm +++ b/lib/Dancer2/CLI/Command/gen.pm @@ -26,7 +26,6 @@ sub opt_spec { [ 'path|p=s', 'application path (default: current directory)', { default => '.' } ], [ 'overwrite|o', 'overwrite existing files' ], - [ 'no-check|x', 'don\'t check latest Dancer2 version (requires internet)' ], [ 'skel|s=s', 'skeleton directory' ], ); } @@ -57,7 +56,6 @@ sub validate_args { sub execute { my ($self, $opt, $args) = @_; - $self->_version_check() unless $opt->{'no_check'}; my $dist_dir = dist_dir('Dancer2'); my $skel_dir = $opt->{skel} || catdir($dist_dir, 'skel'); |