remove setExtraParameter for 2.0

This commit is contained in:
Shelley Vohr 2018-02-20 08:26:10 -05:00
parent 459a5e3a1f
commit fc025064f7
No known key found for this signature in database
GPG key ID: F13993A75599653C
3 changed files with 1 additions and 20 deletions

View file

@ -104,15 +104,6 @@ class CrashReporter {
}
}
// TODO(2.0) Remove
setExtraParameter (key, value) {
if (!process.noDeprecations) {
deprecate.warn('crashReporter.setExtraParameter',
'crashReporter.addExtraParameter or crashReporter.removeExtraParameter')
}
binding.setExtraParameter(key, value)
}
addExtraParameter (key, value) {
binding.addExtraParameter(key, value)
}