mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Correct deprecation label
This commit is contained in:
@@ -98,10 +98,10 @@ class AtomReporter extends View
|
||||
addDeprecations: (spec) ->
|
||||
deprecations = grim.getDeprecations()
|
||||
@deprecationCount += deprecations.length
|
||||
if @deprecationCount > 1
|
||||
@deprecationStatus.text("#{@deprecationCount} deprecations")
|
||||
else
|
||||
if @deprecationCount is 1
|
||||
@deprecationStatus.text("1 deprecation")
|
||||
else
|
||||
@deprecationStatus.text("#{@deprecationCount} deprecations")
|
||||
|
||||
for deprecation in deprecations
|
||||
@deprecationList.append $$ ->
|
||||
|
||||
Reference in New Issue
Block a user