Skip to content

Commit 831d26f

Browse files
committed
respond to code review comments
1 parent eb01e92 commit 831d26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3644,7 +3644,7 @@ module ts {
36443644
// Note that the outermost group is *not* a capture group, but the innermost groups
36453645
// *are* capture groups. By capturing the inner literals we can determine after
36463646
// matching which descriptor we are dealing with.
3647-
var literals = "(?:" + descriptors.map(d => "(" + escapeRegExp(d.text) + ")").join("|") + ")";
3647+
var literals = "(?:" + map(descriptors, d => "(" + escapeRegExp(d.text) + ")").join("|") + ")";
36483648

36493649
// After matching a descriptor literal, the following regexp matches the rest of the
36503650
// text up to the end of the line (or */).

0 commit comments

Comments
 (0)