Skip to content

Commit 4d39d5b

Browse files
author
Harald Albers
committed
Follow-up on PR jenkinsci#1105: use != for numeric comparison
This is sort of a cosmetic change, the script also worked with string comparison.
1 parent 7924bd9 commit 4d39d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translation-tool.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
my $psame = 0;
9999
my $pnojenkins = 0;
100100

101-
if ($tkeys ne 0) {
101+
if ($tkeys != 0) {
102102
$pdone = $tdone/$tkeys*100;
103103
$pmissing = $tmissing/$tkeys*100;
104104
$punused = $tunused/$tkeys*100;

0 commit comments

Comments
 (0)