check location for static analysis

pull/1/head
Liana Husikyan 5 years ago committed by GitHub
parent 6ec50ea83a
commit 04e8b57b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/tabs/staticanalysis/staticAnalysisView.js

@ -104,7 +104,7 @@ staticAnalysisView.prototype.run = function () {
results.map(function (result, i) { results.map(function (result, i) {
result.report.map(function (item, i) { result.report.map(function (item, i) {
var location = '' var location = ''
if (item.location !== undefined) { if (!item.location) {
var split = item.location.split(':') var split = item.location.split(':')
var file = split[2] var file = split[2]
location = { location = {

Loading…
Cancel
Save