Getting rid of linting errors
This commit is contained in:
parent
f1cd1c6dff
commit
2814e04e7d
2 changed files with 8 additions and 8 deletions
|
@ -21,9 +21,9 @@ exports.load = (appUrl) => {
|
||||||
options.icon = path.join(__dirname, 'icon.png')
|
options.icon = path.join(__dirname, 'icon.png')
|
||||||
}
|
}
|
||||||
crashReporter.start({
|
crashReporter.start({
|
||||||
submitURL: "http://localhost:8080/uploadDump/mainDump",
|
submitURL: 'http://localhost:8080/uploadDump/mainDump',
|
||||||
companyName: "Main Company",
|
companyName: 'Main Company',
|
||||||
productName: "Main Product"
|
productName: 'Main Product'
|
||||||
})
|
})
|
||||||
|
|
||||||
mainWindow = new BrowserWindow(options)
|
mainWindow = new BrowserWindow(options)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
const os = require('os')
|
const os = require('os')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
let productName = 'Child Product';
|
let productName = 'Child Product'
|
||||||
let companyName = 'Child Company';
|
let companyName = 'Child Company'
|
||||||
let tmpPath = path.join(os.tmpdir(), productName + ' Crashes');
|
let tmpPath = path.join(os.tmpdir(), productName + ' Crashes')
|
||||||
|
|
||||||
process.crashReporter.start({
|
process.crashReporter.start({
|
||||||
productName: productName,
|
productName: productName,
|
||||||
|
@ -14,5 +14,5 @@ process.crashReporter.start({
|
||||||
randomData1: 'The Holidays are here!',
|
randomData1: 'The Holidays are here!',
|
||||||
randomData2: 'Happy New Year!'
|
randomData2: 'Happy New Year!'
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
process.crash();
|
process.crash()
|
||||||
|
|
Loading…
Reference in a new issue