From 7cd272fff03c559181e69a3e25c25a6f20376ff1 Mon Sep 17 00:00:00 2001 From: ConquestArrow Date: Tue, 27 Dec 2016 03:02:45 +0900 Subject: [PATCH] fix for #56 --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 5a16c3e..cb1ca3f 100644 --- a/index.ts +++ b/index.ts @@ -159,7 +159,7 @@ namespace tss { private getFile (outputFiles: ts.OutputFile[], fileName: string): ts.OutputFile { const files = outputFiles.filter((file) => { - const full = path.resolve(process.cwd(), fileName); + const full = this.normalizeSlashes(path.resolve(process.cwd(), fileName)); return file.name === fileName || file.name === full; }); return files[0];