summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn@debian.org>2022-04-10 01:11:52 +0200
committergregor herrmann <gregoa@debian.org>2022-04-10 01:11:52 +0200
commitd755910ea3da3121007c745d269d1299234419c1 (patch)
treed68855fb43292cfb524cda0fc081184678ee106e
parent89f69c46892aef95cdfa03c34e0e06cc7e77de4b (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 b0067db1..3bae2560 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 );