isIgnoredFiles with default constructed path due to drive letter
I'm not sure this happens cause of the sourcemap, but I did some tests and I only get this error in scripts included in the sourcemap, maybe because I'm using argon.
In the next release I'm going to improve the error message for this. Can you show me the updated error message when that happens?
D:/Mopr/test is project root
LSP[luau-lsp]: Error INVALID_SERVER_MESSAGE: {
error = {
code = -32603,
message = "isIgnoredFile failed: relative path is default-constructed when constructing d:/Mopr/test/src/Server/Main.server.luau against D:/Mopr/test"
},
jsonrpc = "2.0"
}
Ah the age-old problem of case sensitivity of the drive letter. It seems that Neovim uses a capital letter while VSCode uses lowercase (for some historic reasons apparently)
We need to normalise the case letter here.
This error still happens on Windows when we open a file "on the fly" with null workspace (opening a roblox game or a git project does not error), it just doesn't error on Linux so I assume that this is not expected