Use template strings

This commit is contained in:
Kevin Sawicki 2017-01-24 14:08:10 -08:00 committed by GitHub
parent 108a3473ed
commit ce6a46ee59

View file

@ -62,9 +62,9 @@ and `crashesDirectory` with appropriate values.
```js ```js
const args = [ const args = [
'--reporter-url=' + submitURL, `--reporter-url=${submitURL}`,
'--application-name=' + productName, `--application-name=${productName}`,
'--crashes-directory=' + crashesDirectory `--crashes-directory=${crashesDirectory}`
] ]
const env = { const env = {
ELECTRON_INTERNAL_CRASH_SERVICE: 1 ELECTRON_INTERNAL_CRASH_SERVICE: 1