chore: remove only on deprecations api spec (#14564)
* chore: remove only * add option to ignore missing properties
This commit is contained in:
parent
ebbaa4f89b
commit
a8a610cb34
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue