Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
fix: always output unix-like path
Browse files Browse the repository at this point in the history
  • Loading branch information
s-panferov committed Mar 7, 2017
1 parent b079cd0 commit 905e14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/checker/runtime.ts
Expand Up @@ -46,7 +46,7 @@ if (!module.parent) {
import * as ts from 'typescript';
import * as path from 'path';
import * as colors from 'colors';
import { findResultFor } from '../helpers';
import { findResultFor, toUnix } from '../helpers';
import {
Req,
Res,
Expand Down Expand Up @@ -411,7 +411,7 @@ function createChecker(receive: (cb: (msg: Req) => void) => void, send: (msg: Re
let fileName = diagnostic.file && path.relative(context, diagnostic.file.fileName);

if (fileName[0] !== '.') {
fileName = './' + fileName;
fileName = './' + toUnix(fileName);
}

let pretty = '';
Expand Down

0 comments on commit 905e14b

Please sign in to comment.