Fixed new linter warnings

This commit is contained in:
Ron Buckton
2016-01-05 10:11:44 -08:00
parent cde12efec5
commit c1205ebdfb
4 changed files with 8 additions and 20 deletions
+1 -9
View File
@@ -139,10 +139,6 @@ namespace ts {
}
}
function getCanonicalPath(path: string): string {
return path.toLowerCase();
}
function getNames(collection: any): string[] {
const result: string[] = [];
for (let e = new Enumerator(collection); !e.atEnd(); e.moveNext()) {
@@ -357,10 +353,6 @@ namespace ts {
}
}
function getCanonicalPath(path: string): string {
return useCaseSensitiveFileNames ? path.toLowerCase() : path;
}
function getAccessibleFileSystemEntries(path: string): FileSystemEntries {
try {
const entries = _fs.readdirSync(path || ".").sort();
@@ -501,4 +493,4 @@ namespace ts {
return undefined; // Unsupported host
}
})();
}
}