Fix unit tests

This commit is contained in:
Rachel Macfarlane
2018-12-11 14:28:58 -08:00
parent a131521c10
commit dec6a8ba59
2 changed files with 7 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ ${this.getInfos()}
let info = '';
if (this._data.issueType === IssueType.Bug || this._data.issueType === IssueType.PerformanceIssue) {
if (this._data.includeSystemInfo) {
if (this._data.includeSystemInfo && this._data.systemInfo) {
info += this.generateSystemInfoMd();
}
}