diff options
author | Damyan Ivanov <dmn@debian.org> | 2020-06-13 15:35:19 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2020-06-13 15:35:19 +0200 |
commit | 61b9c9f74f64322841b90859bebc473a951cb4ae (patch) | |
tree | d32ad0af244b64def59f41af3412e639769b509c | |
parent | fa411b3c03c3de59fe93fe4b456b761826e8e43f (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'); |