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.
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.