mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-28 01:25:44 -05:00
Bugs fixes so XEvent profiler isn't broken (#577)
* Fix a few issues with profiler method handlers * Filter out profiler polling events * Add a unit test for profiler events * Add method comment headers
This commit is contained in:
@@ -104,7 +104,8 @@ namespace Microsoft.SqlTools.ServiceLayer.Workspace
|
||||
if (!this.workspaceFiles.TryGetValue(keyName, out scriptFile))
|
||||
{
|
||||
if (IsUntitled(resolvedFile.FilePath)
|
||||
|| !resolvedFile.CanReadFromDisk)
|
||||
|| !resolvedFile.CanReadFromDisk
|
||||
|| !File.Exists(resolvedFile.FilePath))
|
||||
{
|
||||
// It's either not a registered untitled file, or not a valid file on disk
|
||||
// so any attempt to read from disk will fail.
|
||||
|
||||
Reference in New Issue
Block a user