Responding to PR feedback

This commit is contained in:
Richard Knoll
2016-08-19 16:49:55 -07:00
parent 310bce4459
commit cf7feb3faa
7 changed files with 59 additions and 67 deletions

View File

@@ -10,7 +10,7 @@ namespace ts {
const defaultTypeRoots = ["node_modules/@types"];
export function findConfigFile(searchPath: string, fileExists: (fileName: string) => boolean, configName="tsconfig.json"): string {
export function findConfigFile(searchPath: string, fileExists: (fileName: string) => boolean, configName = "tsconfig.json"): string {
while (true) {
const fileName = combinePaths(searchPath, configName);
if (fileExists(fileName)) {