comment changes (#482)

This commit is contained in:
Praveen Barli
2017-10-06 15:42:22 -07:00
committed by GitHub
parent 8b86279c3d
commit a8f3503c00

View File

@@ -381,7 +381,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
{ {
if (definitionResult.IsErrorResult) if (definitionResult.IsErrorResult)
{ {
await requestContext.SendError(definitionResult.Message); await requestContext.SendError(definitionResult.Message);
} }
else else
{ {
@@ -391,7 +391,6 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
} }
else else
{ {
// Send an empty result so that processing does not hang when peek def service called from non-mssql clients
await requestContext.SendResult(Array.Empty<Location>()); await requestContext.SendResult(Array.Empty<Location>());
} }
@@ -399,7 +398,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
} }
else else
{ {
// Send an empty result so that processing does not hang // Send an empty result so that processing does not hang when peek def service called from non-mssql clients
await requestContext.SendResult(Array.Empty<Location>()); await requestContext.SendResult(Array.Empty<Location>());
} }