remove Comment

This commit is contained in:
Arthur Ozga 2016-09-27 14:04:57 -07:00
parent 8a479e8bfa
commit 6dd548285f

View File

@ -326,18 +326,9 @@ namespace ts.Completions {
* Given a path ending at a directory, gets the completions for the path.
*/
function getCompletionEntriesForDirectoryFragment(fragment: string, scriptPath: string, extensions: string[], includeExtensions: boolean, span: TextSpan, exclude?: string, result: CompletionEntry[] = []): CompletionEntry[] {
/*Debug.assert(fragment !== undefined);
if (fragment === "") {
fragment = ".";
} else {
fragment = getDirectoryPath(fragment);
}
*/
fragment = getDirectoryPath(fragment); // TODO: modify fragment so it respects our internal path representation?
if (!fragment) {
fragment = ".";
fragment = "./";
}
else {
fragment = ensureTrailingDirectorySeparator(fragment); // TODO: why is this necessary?