Fix error when commit hash is removed [ci skip]
This commit is contained in:
parent
b51b22513f
commit
8873c420d3
@ -17,6 +17,6 @@ unless /^[^#]/ !~ (gem = $F[0])
|
||||
end
|
||||
end
|
||||
f = [gem.name, gem.version.to_s, uri, *$F[3..-1]]
|
||||
$_.gsub!(/\S+\s*/) {|s| f.shift.ljust(s.size)}
|
||||
$_.gsub!(/\S+\s*/) {|s| (f.shift || "").ljust(s.size)}
|
||||
$_ = [$_, *f].join(" ") unless f.empty?
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user