From f19bcfd4d96860ab7f0c4be61738ce223fe6c186 Mon Sep 17 00:00:00 2001 From: MagnusMikkelsen <20538868+MagnusMikkelsen@users.noreply.github.com> Date: Mon, 17 Jan 2022 11:12:15 +0100 Subject: [PATCH] gitignore template link updated The gitignore master branch has been renamed to main, so the link hardcoded to the VisualStudio.gitignore template was broken. Changing "master" to "main" in the link fixes this. However might be an idea to make this link configurable somehow? --- IFix/gitignore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IFix/gitignore.cs b/IFix/gitignore.cs index 2890686..49a47fb 100644 --- a/IFix/gitignore.cs +++ b/IFix/gitignore.cs @@ -340,7 +340,7 @@ public void DownloadGitIgnore(string path) { using (var client = new WebClient()) { - client.DownloadFile("https://github.com/github/gitignore/raw/master/VisualStudio.gitignore", + client.DownloadFile("https://github.com/github/gitignore/raw/main/VisualStudio.gitignore", path); } }