[carton] 288/472: remove unused code

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 551719a3238247ebb65a3872d15892111092ab31
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Wed Jun 5 15:33:30 2013 +0900

    remove unused code
---
 lib/Carton/CLI.pm  | 1 -
 xt/cli/mirror.t    | 3 +--
 xt/cli/perl.t      | 3 ---
 xt/cli/test_deps.t | 3 ---
 xt/cli/tree.t      | 1 -
 5 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index edb76ea..082cd34 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -2,7 +2,6 @@ package Carton::CLI;
 use strict;
 use warnings;
 
-use Cwd;
 use Config;
 use Getopt::Long;
 
diff --git a/xt/cli/mirror.t b/xt/cli/mirror.t
index e94dccf..089f702 100644
--- a/xt/cli/mirror.t
+++ b/xt/cli/mirror.t
@@ -1,9 +1,8 @@
 use strict;
 use Test::More;
 use xt::CLI;
-use Cwd;
 
-my $cwd = Cwd::cwd();
+my $cwd = Path::Tiny->cwd;
 
 {
     my $app = cli();
diff --git a/xt/cli/perl.t b/xt/cli/perl.t
index 7b9bb28..27e9a66 100644
--- a/xt/cli/perl.t
+++ b/xt/cli/perl.t
@@ -1,9 +1,6 @@
 use strict;
 use Test::More;
 use xt::CLI;
-use Cwd;
-
-my $cwd = Cwd::cwd();
 
 {
     my $app = cli();
diff --git a/xt/cli/test_deps.t b/xt/cli/test_deps.t
index de53ae8..65957fe 100644
--- a/xt/cli/test_deps.t
+++ b/xt/cli/test_deps.t
@@ -1,9 +1,6 @@
 use strict;
 use Test::More;
 use xt::CLI;
-use Cwd;
-
-my $cwd = Cwd::cwd();
 
 {
     my $app = cli();
diff --git a/xt/cli/tree.t b/xt/cli/tree.t
index 5249c65..69eb30e 100644
--- a/xt/cli/tree.t
+++ b/xt/cli/tree.t
@@ -1,7 +1,6 @@
 use strict;
 use Test::More;
 use xt::CLI;
-use Cwd;
 
 {
     my $app = cli();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git



More information about the Pkg-perl-cvs-commits mailing list