Browse Source

Use template strings

Kevin Sawicki 8 years ago
parent
commit
ce6a46ee59
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/api/crash-reporter.md

+ 3 - 3
docs/api/crash-reporter.md

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