mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
remove Comment
This commit is contained in:
parent
8a479e8bfa
commit
6dd548285f
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user