summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn@debian.org>2023-11-03 22:56:36 +0100
committergregor herrmann <gregoa@debian.org>2023-11-03 22:56:36 +0100
commitbdefbf1ec208d399f1dd5d21f6091fd5e57c6a3e (patch)
tree7f395a4e4a8ebf8bdd96da6297d0c81c75eb3d8d
parentc0077477aeae4eb2fb72717c540bc1d4b6dde385 (diff)
Remove version check when generating an application tree
Bug-Debian: https://bugs.debian.org/883606 Forwarded: not-needed Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2021-10-23 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/Gen.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Dancer2/CLI/Gen.pm b/lib/Dancer2/CLI/Gen.pm
index b92f7fa4..62e73cf0 100644
--- a/lib/Dancer2/CLI/Gen.pm
+++ b/lib/Dancer2/CLI/Gen.pm
@@ -58,14 +58,6 @@ option overwrite => (
default => 0,
);
-option no_check => (
- is => 'ro',
- short => 'x',
- doc => "don't check latest Dancer2 version (default: check - requires internet)",
- required => 0,
- default => 0,
-);
-
option skel => (
is => 'ro',
short => 's',
@@ -130,7 +122,6 @@ dots, hyphens or start with a number.
sub run {
my $self = shift;
- $self->_version_check unless $self->no_check;
my $app_name = $self->application;
my $app_file = $self->_get_app_file( $app_name );