1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Remove version check when generating an application tree
This is a privacy breach and serves no real purpose for the package in
Debian/stable
Forwarded: not-needed
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: https://bugs.debian.org/883606
--- 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');
|