mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
[js] Cannot read property 'then' of undefined #664
This commit is contained in:
parent
0a642440ef
commit
c48da2e131
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class QuickFixMainActions {
|
|||
var dtsFileResource = this._contextService.toResource(dtsFile);
|
||||
var jsConfigResource = this._contextService.toResource('jsconfig.json');
|
||||
if (!dtsFileResource || !jsConfigResource) {
|
||||
return;
|
||||
return winjs.Promise.as(null);
|
||||
}
|
||||
|
||||
var resourcePath = this._contextService.toWorkspaceRelativePath(resource);
|
||||
|
|
Loading…
Reference in a new issue