[pkg-perl-tools] 02/02: dpt-salsa: more perltidy

gregor herrmann gregoa at debian.org
Sat Jan 27 04:44:12 UTC 2018


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

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 021020f2f5df0811059ce8ea97eca45207d2f9b9
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 27 05:39:17 2018 +0100

    dpt-salsa: more perltidy
    
    Gbp-Dch: Ignore
---
 scripts/salsa | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/salsa b/scripts/salsa
index c0d860e..885842e 100755
--- a/scripts/salsa
+++ b/scripts/salsa
@@ -53,7 +53,6 @@ my $api = GitLab::API::v4->new(
     private_token => $config{private_token},
 );
 
-
 # run command
 if ( $command eq 'version' ) {
     version();
@@ -85,7 +84,7 @@ exit;
 ## version()
 sub version {
     my $version = $api->version();
-    if ($opts{json}) {
+    if ( $opts{json} ) {
         say prettyjson($version);
     } else {
         say "Version:  " . $version->{version};
@@ -96,7 +95,7 @@ sub version {
 ## current_user()
 sub current_user {
     my $current_user = $api->current_user();
-    if ($opts{json}) {
+    if ( $opts{json} ) {
         say prettyjson($current_user);
     } else {
         say "Username: " . $current_user->{username};

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



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