From 6e2403964ad2dd1f363f97312511859e44e2453d Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Fri, 15 Jan 2016 09:12:42 +0100 Subject: [PATCH] make slashes consistent in the shown file path --- build/gulpfile.hygiene.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js index fd9abab3bbc..4a038207add 100644 --- a/build/gulpfile.hygiene.js +++ b/build/gulpfile.hygiene.js @@ -152,9 +152,9 @@ var tslintFilter = [ '!src/vs/editor/standalone-languages/test/**' ]; -const lintReporter = function (output, file, options) { +var lintReporter = function (output, file, options) { //emits: src/helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’ - var relativeBase = file.base.substring(file.cwd.length + 1); + var relativeBase = file.base.substring(file.cwd.length + 1).replace('\\', '/'); output.forEach(function(e) { var message = relativeBase + e.name + ':' + (e.startPosition.line + 1) + ':' + (e.startPosition.character + 1) + ': ' + e.failure; console.log('[tslint] ' + message);