Fixed lint issues

This commit is contained in:
Armando Aguirre
2019-08-08 14:29:03 -07:00
parent 98729b4462
commit 209ca0749f
+3 -3
View File
@@ -15,8 +15,8 @@ namespace ts.NavigationBar {
*/
const whiteSpaceRegex = /\s+/g;
/**
* Maximum amount of characters to return
/**
* Maximum amount of characters to return
* The amount was choosen arbitrarily.
*/
const maxLength = 150;
@@ -713,6 +713,6 @@ namespace ts.NavigationBar {
// \r - Carriage Return
// \u2028 - Line separator
// \u2029 - Paragraph separator
return text.replace(/\\?(\r?\n|\u2028|\u2029)/g, '');
return text.replace(/\\?(\r?\n|\u2028|\u2029)/g, "");
}
}