Merge pull request #4724 from denvned/patch-1

Account for path options when pointing to the current working directory
This commit is contained in:
Mohamed Hegazy
2015-10-06 12:32:11 -07:00

View File

@@ -448,6 +448,9 @@ namespace ts {
}
if (opt.isFilePath) {
value = normalizePath(combinePaths(basePath, value));
if (value === "") {
value = ".";
}
}
options[opt.name] = value;
}
@@ -497,4 +500,4 @@ namespace ts {
return fileNames;
}
}
}
}