Adds more linting rules

Fixes lint issues
This commit is contained in:
Eric Amodio
2017-05-23 17:18:44 -04:00
parent 23db83832c
commit 3502bdf6c7
32 changed files with 125 additions and 76 deletions

View File

@@ -21,7 +21,7 @@ export class VisualStudioService extends RemoteProvider {
}
protected getUrlForFile(fileName: string, branch?: string, sha?: string, range?: Range): string {
let line: string = '';
let line = '';
if (range) {
if (range.start.line === range.end.line) {
line = `&line=${range.start.line}`;