Use double quotes in declaration file's reference path generation so that quotes in file name wouldnt affect reference resolution

Fixes #474
This commit is contained in:
Sheetal Nandi
2014-09-04 16:21:56 -07:00
parent f582902ec0
commit 0dc95ceb60
198 changed files with 274 additions and 308 deletions

View File

@@ -3103,7 +3103,7 @@ module ts {
compilerHost.getCurrentDirectory(),
/*isAbsolutePathAnUrl*/ false);
referencePathsOutput += "/// <reference path='" + declFileName + "' />" + newLine;
referencePathsOutput += "/// <reference path=\"" + declFileName + "\" />" + newLine;
}
if (root) {