From 8e5db5a953db57083093430fc1209e11b2d00690 Mon Sep 17 00:00:00 2001 From: wareczek Date: Sun, 10 Apr 2016 23:23:35 +0200 Subject: [PATCH] escape symbol "|" --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index d269d39..da40b90 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ module.exports = { err.column, err.severity === 'error' ? 'Error' : 'Warning', err.linter, - err.message + err.message.replace('\'', '|\'') ) ); }); diff --git a/package.json b/package.json index fa81168..a00df4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lesshint-reporter-teamcity", - "version": "1.0.2", + "version": "1.0.3", "description": "TeamCity reporter for lesshint.", "main": "index.js", "repository": {