diff --git a/default_app/default_app.js b/default_app/default_app.js index 989dac5c58f3..035a347fa7e7 100644 --- a/default_app/default_app.js +++ b/default_app/default_app.js @@ -21,9 +21,9 @@ exports.load = (appUrl) => { options.icon = path.join(__dirname, 'icon.png') } crashReporter.start({ - submitURL: "http://localhost:8080/uploadDump/mainDump", - companyName: "Main Company", - productName: "Main Product" + submitURL: 'http://localhost:8080/uploadDump/mainDump', + companyName: 'Main Company', + productName: 'Main Product' }) mainWindow = new BrowserWindow(options) diff --git a/default_app/forkedProcess.js b/default_app/forkedProcess.js index 864b51ef688e..473254bfdc36 100644 --- a/default_app/forkedProcess.js +++ b/default_app/forkedProcess.js @@ -1,9 +1,9 @@ const os = require('os') const path = require('path') -let productName = 'Child Product'; -let companyName = 'Child Company'; -let tmpPath = path.join(os.tmpdir(), productName + ' Crashes'); +let productName = 'Child Product' +let companyName = 'Child Company' +let tmpPath = path.join(os.tmpdir(), productName + ' Crashes') process.crashReporter.start({ productName: productName, @@ -14,5 +14,5 @@ process.crashReporter.start({ randomData1: 'The Holidays are here!', randomData2: 'Happy New Year!' } -}); -process.crash(); +}) +process.crash()