diff options
author | Damyan Ivanov <dmn@debian.org> | 2020-05-29 17:36:36 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2020-05-29 17:36:36 +0200 |
commit | 13be1f73cae821a4c7da00522d38f9cd8b272a95 (patch) | |
tree | f8a285af0097bc0750742b1785232bc41fea55a6 | |
parent | 56f52c544a6bbcf1bbc59b8fc23b4a57ccd46170 (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 4230f1ab..ab87b36b 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'); |