typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Fixed: [bug/lsp]panic: vfs: path is not absolute #670

Open rezwanahmedsami opened this issue 9 months ago • 0 comments

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)
}

rezwanahmedsami avatar Mar 19 '25 10:03 rezwanahmedsami