summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn@debian.org>2023-12-15 22:21:32 +0100
committergregor herrmann <gregoa@debian.org>2023-12-15 22:21:32 +0100
commit4baa71e9e01d88fc6341cdc04fc34d82b1eae511 (patch)
treeb7f4bcd65a795607519989fe0978269757f45621
parent99e2bab0cd8a5eed89bd2a1be6dba51c13c6fea4 (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 f127312d..8af5d2e3 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 );