diff --git a/lib/common/api/crash-reporter.js b/lib/common/api/crash-reporter.js
index 7a8648aa4417..4b49292b917e 100644
--- a/lib/common/api/crash-reporter.js
+++ b/lib/common/api/crash-reporter.js
@@ -102,7 +102,7 @@ class CrashReporter {
     return this.tempDirectory
   }
 
-  getShouldUpload() {
+  getShouldUpload () {
     if (process.type === 'browser') {
       return binding._getShouldUpload()
     } else {
@@ -110,7 +110,7 @@ class CrashReporter {
     }
   }
 
-  setShouldUpload(shouldUpload) {
+  setShouldUpload (shouldUpload) {
     if (process.type === 'browser') {
       return binding._setShouldUpload(shouldUpload)
     } else {