diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index c89859250877..3e93de4a25b4 100644 --- a/docs/api/crash-reporter.md +++ b/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