Skip to content

Commit

Permalink
do not use ES7 features in JS yet
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored and deepak1556 committed Jul 21, 2020
1 parent 2978594 commit 7bce18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ if (crashReporterDirectory) {
}

// Start crash reporter for all processes
const productName = product.crashReporter?.productName || product.nameShort;
const companyName = product.crashReporter?.companyName || 'Microsoft';
const productName = (product.crashReporter ? product.crashReporter.productName : undefined) || product.nameShort;
const companyName = (product.crashReporter ? product.crashReporter.companyName : undefined) || 'Microsoft';
crashReporter.start({
companyName: companyName,
productName: process.env['VSCODE_DEV'] ? `${productName} Dev` : productName,
Expand Down

0 comments on commit 7bce18e

Please sign in to comment.