Skip to content

Commit

Permalink
Published 1.1.38
Browse files Browse the repository at this point in the history
  • Loading branch information
msfterictraut committed May 23, 2020
1 parent 0a0cd61 commit f71eb14
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "pyright",
"displayName": "Pyright",
"description": "VS Code static type checking for Python",
"version": "1.1.37",
"version": "1.1.38",
"license": "MIT",
"author": {
"name": "Microsoft Corporation"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "pyright",
"displayName": "Pyright",
"description": "Type checker for the Python language",
"version": "1.1.37",
"version": "1.1.38",
"license": "MIT",
"author": {
"name": "Microsoft Corporation"
Expand Down
2 changes: 1 addition & 1 deletion server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "pyright-server",
"displayName": "pyright",
"description": "Type checker for the Python language",
"version": "1.1.37",
"version": "1.1.38",
"license": "MIT",
"scripts": {
"start": "npm run start:serverDebug && npm run start:server",
Expand Down
2 changes: 0 additions & 2 deletions server/src/analyzer/backgroundAnalysisProgram.ts
Expand Up @@ -131,11 +131,9 @@ export class BackgroundAnalysisProgram {

async getDiagnosticsForRange(filePath: string, range: Range, token: CancellationToken): Promise<Diagnostic[]> {
if (this._backgroundAnalysis) {
// backgroundAnalysis returns Promise<Diagnostics[]>
return this._backgroundAnalysis.getDiagnosticsForRange(filePath, range, token);
}

// program returns Promise<Diagnostics[]>
return this._program.getDiagnosticsForRange(filePath, range);
}

Expand Down

0 comments on commit f71eb14

Please sign in to comment.