chore: remove only on deprecations api spec (#14564)

* chore: remove only

* add option to ignore missing properties
This commit is contained in:
Shelley Vohr 2018-09-11 23:00:41 -07:00 committed by GitHub
parent ebbaa4f89b
commit a8a610cb34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -44,7 +44,7 @@ const nativeFn = app.getAppMetrics
app.getAppMetrics = () => {
let metrics = nativeFn.call(app)
for (const metric of metrics) {
deprecate.removeProperty(metric, 'memory')
deprecate.removeProperty(metric, 'memory', true)
}
return metrics