iamcco / diagnostic-languageserver

diagnostic language server integrate with linters
MIT License
418 stars 28 forks source link

Allow empty errorsRoot #79

Closed eliasnorrby closed 2 years ago

eliasnorrby commented 2 years ago

Resolves a regression introduced in #77. The case where config.errorsRoot is empty is not handled properly, resulting in diagnosis failing when it is missing.

Only attempt to replace the %filepath placeholder after verifying config.errorsRoot is non-empty.

iamcco commented 2 years ago

Thanks!