Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackerpilot committed Jul 14, 2016
1 parent b9fa74b commit c8b12f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/run.d
Expand Up @@ -93,10 +93,10 @@ void writeJSON(string key, string fileName, size_t line, size_t column, string m
first = false;
writeln(" {");
writeln(` "key": "`, key, `",`);
writeln(` "fileName": "`, fileName, `",`);
writeln(` "fileName": "`, .replace(`"`, `\"`).replace("\\", "\\\\"), `",`);
writeln(` "line": `, line, `,`);
writeln(` "column": `, column, `,`);
writeln(` "message": "`, message.replace(`"`, `\"`), `"`);
writeln(` "message": "`, message.replace(`"`, `\"`).replace("\\", "\\\\"), `"`);
write(" }");
}

Expand Down

0 comments on commit c8b12f1

Please sign in to comment.