Open Youssef1313 opened 3 years ago
The implementation uses Directory.GetCurrentDirectory() to get the path of the root for links starting in /. When tests run, the directory doesn't represent the root directory ("WorkspaceTests"). See:
Directory.GetCurrentDirectory()
/
https://github.com/MSDocsBuild/build-verifier/blob/main/tests/MarkdownLinksVerifier/LinkValidatorTests/LocalLinkValidatorTests.cs#L356
The implementation uses
Directory.GetCurrentDirectory()
to get the path of the root for links starting in/
. When tests run, the directory doesn't represent the root directory ("WorkspaceTests"). See:https://github.com/MSDocsBuild/build-verifier/blob/main/tests/MarkdownLinksVerifier/LinkValidatorTests/LocalLinkValidatorTests.cs#L356