Skip to content

Commit ed12d72

Browse files
fix: use fs.canonical() instead of fs.absolute()
1 parent 945bc95 commit ed12d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/cli/doc/export.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function export.getLualsConfig()
295295
return {
296296
name = 'LuaLS',
297297
type = 'luals.config',
298-
DOC = fs.absolute(fs.path(DOC)):string(),
298+
DOC = fs.canonical(fs.path(DOC)):string(),
299299
defines = {},
300300
fields = {}
301301
}

0 commit comments

Comments
 (0)