CR feedback to use template strings.

This commit is contained in:
Cyrus Najmabadi
2015-02-19 15:52:37 -08:00
parent cdc1b90e42
commit 990bbb2dce
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ module FourSlash {
var lineStarts = ts.computeLineStarts(this.getFileContent(this.activeFile.fileName));
var lineCharPos = ts.computeLineAndCharacterOfPosition(lineStarts, pos);
this.scenarioActions.push('<MoveCaretToLineAndChar LineNumber="' + (lineCharPos.line + 1) + '" CharNumber="' + (lineCharPos.character + 1) + '" />');
this.scenarioActions.push(`<MoveCaretToLineAndChar LineNumber=${ lineCharPos.line + 1 } CharNumber=${ lineCharPos.character + 1 } />`);
}
public moveCaretRight(count = 1) {