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
Bug-Debian: https://bugs.debian.org/883606
Forwarded: not-needed
Author: Damyan Ivanov <dmn@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2021-10-23

--- a/lib/Dancer2/CLI/Gen.pm
+++ b/lib/Dancer2/CLI/Gen.pm
@@ -58,14 +58,6 @@
     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 @@
 
 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 );
