From eae0cd3a5cd892c2d72bf401e58b8a50f4845ddb Mon Sep 17 00:00:00 2001 From: "Stephen Weatherford (MSFT)" Date: Thu, 19 Apr 2018 11:51:39 -0700 Subject: [PATCH] null ref in provide signature help, fixes #35 (#77) --- src/AzureRMTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureRMTools.ts b/src/AzureRMTools.ts index 455de9c40..f82d36c94 100644 --- a/src/AzureRMTools.ts +++ b/src/AzureRMTools.ts @@ -629,7 +629,7 @@ export class AzureRMTools { } private onProvideSignatureHelp(document: vscode.TextDocument, position: vscode.Position, token: vscode.CancellationToken): Promise { - let result: Promise = null; + let result: Promise = Promise.resolve(null); this.logOnError(() => { const deploymentTemplate: DeploymentTemplate = this.getDeploymentTemplate(document);