mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
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:
@@ -3103,7 +3103,7 @@ module ts {
|
||||
compilerHost.getCurrentDirectory(),
|
||||
/*isAbsolutePathAnUrl*/ false);
|
||||
|
||||
referencePathsOutput += "/// <reference path='" + declFileName + "' />" + newLine;
|
||||
referencePathsOutput += "/// <reference path=\"" + declFileName + "\" />" + newLine;
|
||||
}
|
||||
|
||||
if (root) {
|
||||
|
||||
Reference in New Issue
Block a user