Skip to content

Commit 72569b0

Browse files
authored
Fix configFile path resolution (#617)
1 parent f49c7e8 commit 72569b0

File tree

1 file changed

+2
-2
lines changed
  • packages/tailwindcss-language-server/src

1 file changed

+2
-2
lines changed

packages/tailwindcss-language-server/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,10 +1417,10 @@ class TW {
14171417
([relativeConfigPath, relativeDocumentSelectorOrSelectors]) => {
14181418
return {
14191419
folder: base,
1420-
configPath: path.join(base, relativeConfigPath),
1420+
configPath: path.resolve(base, relativeConfigPath),
14211421
documentSelector: []
14221422
.concat(relativeDocumentSelectorOrSelectors)
1423-
.map((selector) => path.join(base, selector)),
1423+
.map((selector) => path.resolve(base, selector)),
14241424
}
14251425
}
14261426
)

0 commit comments

Comments
 (0)