Skip to content

Commit

Permalink
make slashes consistent in the shown file path
Browse files Browse the repository at this point in the history
  • Loading branch information
egamma committed Jan 15, 2016
1 parent 6ca007d commit 6e24039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/gulpfile.hygiene.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e24039

Please sign in to comment.