diff --git a/src/DocLinkChecker/DocLinkChecker/Services/ResourceValidatorService.cs b/src/DocLinkChecker/DocLinkChecker/Services/ResourceValidatorService.cs index a1971db..5c6413e 100644 --- a/src/DocLinkChecker/DocLinkChecker/Services/ResourceValidatorService.cs +++ b/src/DocLinkChecker/DocLinkChecker/Services/ResourceValidatorService.cs @@ -71,7 +71,7 @@ public ResourceValidatorService( orphanedResources.Add(resourceFullPath); errors.Add( new MarkdownError( - _fileService.GetRelativePath(resourceFullPath, _config.DocumentationFiles.SourceFolder), + _fileService.GetRelativePath(_config.DocumentationFiles.SourceFolder, resourceFullPath), 0, 0, MarkdownErrorSeverity.Error,