diff --git a/procfile.go b/procfile.go index 0d304e6..07b9837 100644 --- a/procfile.go +++ b/procfile.go @@ -47,6 +47,9 @@ func (pf *Procfile) LongestProcessName(concurrency map[string]int) (longest int) if c, ok := concurrency[entry.Name]; ok { // Add the number of digits thisLen += int(math.Log10(float64(c))) + 1 + } else { + // The index number after the dot. + thisLen += 1 } if thisLen > longest { longest = thisLen