parent
3aafffefda
commit
ce897c9b12
|
@ -1607,17 +1607,25 @@ class TW {
|
||||||
|
|
||||||
this.initialized = true
|
this.initialized = true
|
||||||
|
|
||||||
if (!this.initializeParams.rootPath) {
|
let base: string
|
||||||
|
if (this.initializeParams.rootUri) {
|
||||||
|
base = URI.parse(this.initializeParams.rootUri).fsPath
|
||||||
|
} else if (this.initializeParams.rootPath) {
|
||||||
|
base = normalizeFileNameToFsPath(this.initializeParams.rootPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!base) {
|
||||||
console.error('No workspace folders found, not initializing.')
|
console.error('No workspace folders found, not initializing.')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base = normalizePath(base)
|
||||||
|
|
||||||
let workspaceFolders: Array<ProjectConfig> = []
|
let workspaceFolders: Array<ProjectConfig> = []
|
||||||
let globalSettings = await getConfiguration()
|
let globalSettings = await getConfiguration()
|
||||||
let ignore = globalSettings.tailwindCSS.files.exclude
|
let ignore = globalSettings.tailwindCSS.files.exclude
|
||||||
let configFileOrFiles = globalSettings.tailwindCSS.experimental.configFile
|
let configFileOrFiles = globalSettings.tailwindCSS.experimental.configFile
|
||||||
|
|
||||||
let base = normalizePath(normalizeFileNameToFsPath(this.initializeParams.rootPath))
|
|
||||||
let cssFileConfigMap: Map<string, string> = new Map()
|
let cssFileConfigMap: Map<string, string> = new Map()
|
||||||
let configTailwindVersionMap: Map<string, string> = new Map()
|
let configTailwindVersionMap: Map<string, string> = new Map()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue