Fix build issues
This commit is contained in:
parent
0d1804b2a0
commit
5a1a2616aa
3 changed files with 5 additions and 3 deletions
|
@ -20,7 +20,7 @@ class CrashReporter {
|
|||
} else {
|
||||
if (typeof autoSubmit !== 'undefined') {
|
||||
// TODO: Remove depreceated property in 2.0.0
|
||||
console.warn('The "autoSubmit" attribute on electron.crashReporter is depreceated. Please use "shouldUpload" instead.')
|
||||
console.warn('The "autoSubmit" attribute on electron.crashReporter.start is depreceated. Please use "shouldUpload" instead.')
|
||||
}
|
||||
shouldUpload = shouldUpload || autoSubmit
|
||||
}
|
||||
|
@ -109,7 +109,7 @@ class CrashReporter {
|
|||
|
||||
setShouldUpload(shouldUpload) {
|
||||
this._shouldUpload = shouldUpload
|
||||
return bindings._setShouldUpload(shouldUpload)
|
||||
return binding._setShouldUpload(shouldUpload)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue