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 4132414 commit 9b690bdCopy full SHA for 9b690bd
ghv/Program.cs
@@ -15,7 +15,7 @@ static async Task Main(string[] args)
15
string owner;
16
string repo;
17
18
- switch (args[0].ToLower()) // 开头的命令不区分大小写
+ switch (args[0].ToLowerInvariant()) // 开头的命令不区分大小写
19
// 接下来的命令参数区分大小写
20
{
21
case "help":
ghv/docs/ghv.md
@@ -22,7 +22,7 @@ namespace ghv
22
23
24
25
- switch (args[0].ToLower()) // 将命令(传给 ghv 的第1个参数)全部转为小写,使得命令不区分大小写
+ switch (args[0].ToLowerInvariant()) // 将命令(传给 ghv 的第1个参数)全部转为小写,使得命令不区分大小写
26
27
// NOTE: 接下来的命令参数区分大小写
28
0 commit comments