Skip to content

Commit b8ea56e

Browse files
committed
fix: spell
1 parent a1267bc commit b8ea56e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Flucli/Utils/Extensions/ArgumentExtension.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static string ToArguments(this IEnumerable<string> cli)
4747
return string.Join(" ", cli?.Select(arg => arg.ToQuoteMarkArguments()) ?? []);
4848
}
4949

50-
public static string ToQuoteMarkArguments(this string arg, QuoteRepalce quoteType = QuoteRepalce.None)
50+
public static string ToQuoteMarkArguments(this string arg, QuoteReplace quoteType = QuoteReplace.None)
5151
{
5252
if (string.IsNullOrEmpty(arg))
5353
{
@@ -56,11 +56,11 @@ public static string ToQuoteMarkArguments(this string arg, QuoteRepalce quoteTyp
5656

5757
switch (quoteType)
5858
{
59-
case QuoteRepalce.DoubleQuote:
59+
case QuoteReplace.DoubleQuote:
6060
arg = arg.Replace("\"", "\"\"");
6161
break;
6262

63-
case QuoteRepalce.BackSlashQuote:
63+
case QuoteReplace.BackSlashQuote:
6464
arg = arg.Replace("\"", "\\\"");
6565
break;
6666
}
@@ -103,7 +103,7 @@ public static SecureString ToSecureString(this string str)
103103
return secureString;
104104
}
105105

106-
public enum QuoteRepalce
106+
public enum QuoteReplace
107107
{
108108
None,
109109
DoubleQuote,

0 commit comments

Comments
 (0)