Skip to content

Commit 8de83d6

Browse files
authored
Merge pull request #4 from pixelcmtd/patch-1
Use `main` branch instead of `master`
2 parents 71d5dd9 + d34f46f commit 8de83d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tldr-sharp/Cache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace tldr_sharp
1414
{
1515
internal static class Cache
1616
{
17-
private const string Remote = "https://raw.githubusercontent.com/tldr-pages/tldr/master/pages";
17+
private const string Remote = "https://raw.githubusercontent.com/tldr-pages/tldr/main/pages";
1818

1919
internal static void Check()
2020
{

tldr-sharp/PageController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ internal static int Print(string pageName, string prefLanguage = null, string pl
118118
if (prefLanguage != null) {
119119
Console.WriteLine(
120120
$"The `{pageName}` page could not be found in {Locale.GetLanguageName(prefLanguage)}. " +
121-
$"{Environment.NewLine}Feel free to translate it: https://github.com/tldr-pages/tldr/blob/master/CONTRIBUTING.md#translations");
121+
$"{Environment.NewLine}Feel free to translate it: https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md#translations");
122122
return 2;
123123
}
124124

tldr-sharp/Updater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ internal static class Updater
1818
private const string Remote = "https://tldr.sh/assets/tldr.zip";
1919

2020
private const string AlternativeRemote =
21-
"https://github.com/tldr-pages/tldr-pages.github.io/raw/master/assets/tldr.zip";
21+
"https://github.com/tldr-pages/tldr-pages.github.io/raw/main/assets/tldr.zip";
2222

2323
internal static void Update()
2424
{

0 commit comments

Comments
 (0)