I have vscode-lua-format.configPath set to .lua-format,
the resolvePath function resolves the fullPath to this: C:\c:\Users\<user>\folder\<project folder>\.lua-format, therefore failing.
A fix I found is to replace workspaceFolder.uri.path with workspaceFolder.uri.fsPath in resolvePath.
I have
vscode-lua-format.configPath
set to.lua-format
, theresolvePath
function resolves thefullPath
to this:C:\c:\Users\<user>\folder\<project folder>\.lua-format
, therefore failing.A fix I found is to replace
workspaceFolder.uri.path
withworkspaceFolder.uri.fsPath
inresolvePath
.