We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a4a25 commit de9b8f8Copy full SHA for de9b8f8
eng/build/Build.Website.cs
@@ -249,7 +249,7 @@ void CreateRedirectsFromOldWebsiteUrlsToNewWebsiteUrls(AbsolutePath basePath)
249
250
File.WriteAllText(
251
dir.Parent / $"{dir.Name}.html",
252
- GetRedirect(dir.GetRelativePathTo(basePath).ToString().Replace('\\', '/'))
+ GetRedirect(basePath.GetRelativePathTo(dir).ToString().Replace('\\', '/'))
253
);
254
}
255
0 commit comments