mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
comment changes (#482)
This commit is contained in:
@@ -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>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user