Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp: fix implementation of protocol.DocumentURI.Dir
I got lost for an unreasonable amount of time trying to track down a bug, where the working directory was being returned for an empty DocumentURI. Whilst it might well be my naive and uninformed use of the API, it seems safer to return an empty directory in case a DocumentURI is also empty. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I2fa96a6ddd302d3b8f3749f4d60c90e0dd3d50f6
- Loading branch information