Unverified Commit 04e8b57b authored by Liana Husikyan's avatar Liana Husikyan Committed by GitHub

check location for static analysis

parent 6ec50ea8
......@@ -104,7 +104,7 @@ staticAnalysisView.prototype.run = function () {
results.map(function (result, i) {
result.report.map(function (item, i) {
var location = ''
if (item.location !== undefined) {
if (!item.location) {
var split = item.location.split(':')
var file = split[2]
location = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment