Skip to content

Commit 2b0eb11

Browse files
committed
removing print statements
1 parent a101a7d commit 2b0eb11

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deploy.pl

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
qx{git stash -u && git reset --hard HEAD};
2121
my $pull = qx{git pull};
2222
my @output = split m/\r?\n/, $pull;
23-
print $output[0];
23+
# print $output[0];
2424
if ($output[0] ne 'Already up-to-date.') {
2525
my $git_fetch = 'git fetch --all && git reset --hard origin/' . $item->{branch_name};
2626
qx{$git_fetch};
@@ -44,22 +44,22 @@
4444
print "Couldn't create $server_dir: $@";
4545
}
4646
my $filepath = $directories . $filename . $suffix;
47-
print "copying to $filepath . $server_dir";
47+
# print "copying to $filepath . $server_dir";
4848
copy($filepath, $server_dir) or die "Failed to copy $filepath: $!\n";
4949
}
5050

5151
}
5252
elsif ($item->{delete_files}==1) {
5353
my $filepath = $filename . $suffix;
5454
my $server_dir = $item->{copy_to_path} . $directories;
55-
print $server_dir . $filepath;
55+
# print $server_dir . $filepath;
5656
unlink $server_dir . $filepath or warn $!;
5757
}
5858

5959
}
6060
}
61-
else {
62-
print 'branch is up to date';
63-
}
61+
#else {
62+
# print 'branch is up to date';
63+
# }
6464
}
6565
}

0 commit comments

Comments
 (0)