typescript-go
typescript-go copied to clipboard
Fixed: [bug/lsp]panic: vfs: path is not absolute #670
Added a validation step to filter out empty strings when processing file paths. For example, in the getFileNamesFromConfigSpecs function, validated like this:
for _, fileName := range validatedFilesSpec {
if fileName == "" {
continue // Skip empty strings
}
file := tspath.GetNormalizedAbsolutePath(fileName, basePath)
literalFileMap.Set(keyMapper(fileName), file)
}