Cleanup PiscalSshClient ending newlines
This commit is contained in:
@@ -62,6 +62,11 @@ namespace LeafWeb.Core.Utility
|
||||
return Regex.Replace(path, @".*/([^/]*$)", "$1");
|
||||
}
|
||||
|
||||
public static string TrimEndNewLine(this string input)
|
||||
{
|
||||
return input.TrimEnd('\r', '\n');
|
||||
}
|
||||
|
||||
public static string Join<T>(this IEnumerable<T> enumerable, string separator)
|
||||
{
|
||||
return string.Join(separator, enumerable);
|
||||
|
||||
Reference in New Issue
Block a user