fixed a comment

This commit is contained in:
Arthur Ozga
2015-07-17 10:48:54 -07:00
parent 005b8583f5
commit 4e8203d295

View File

@@ -6768,11 +6768,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
* Removes all but the pinned or triple slash comments.
* @param ranges The array to be filtered
* @param onlyPinnedOrTripleSlashComments whether the filtering should be performed.
*
* This probably shouldn't be a parameter at all. It appears that in every call, the argument is
* precisely 'compilerOptions.removeComments'.
*
* How to fix this?
*/
function filterComments(ranges: CommentRange[], onlyPinnedOrTripleSlashComments: boolean): CommentRange[] {
// If we're removing comments, then we want to strip out all but the pinned or