Skip to content

Commit

Permalink
Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
armanio123 committed Aug 8, 2019
1 parent 98729b4 commit 209ca07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/navigationBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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, "");
}
}

0 comments on commit 209ca07

Please sign in to comment.