From 2814e04e7dc1e34a81755f64541de319cb5febae Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Mon, 12 Dec 2016 21:32:58 -0800 Subject: [PATCH] Getting rid of linting errors --- default_app/default_app.js | 6 +++--- default_app/forkedProcess.js | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) 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()