mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 23:25:41 +12:00
Newlines ugh
This commit is contained in:
parent
71afd7e308
commit
9cec432bcc
1 changed files with 4 additions and 4 deletions
|
@ -40,15 +40,15 @@ namespace HISP.Server
|
|||
}
|
||||
public static string GetVersionString()
|
||||
{
|
||||
return Resources.GitTag;
|
||||
return Resources.GitTag.Replace("\r", "").Replace("\n", "");
|
||||
}
|
||||
public static string GetBranch()
|
||||
{
|
||||
return Resources.GitBranch;
|
||||
return Resources.GitBranch.Replace("\r", "").Replace("\n", "");
|
||||
}
|
||||
public static string GetBuildDate()
|
||||
{
|
||||
return Resources.BuildDate.Replace("\r", "").Replace("\n", ""); ;
|
||||
return Resources.BuildDate.Replace("\r", "").Replace("\n", "");
|
||||
}
|
||||
public static string GetBuildTime()
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ namespace HISP.Server
|
|||
}
|
||||
public static string GetCommitHash(int TotalBytes)
|
||||
{
|
||||
return Resources.GitCommit.Substring(0, TotalBytes);
|
||||
return Resources.GitCommit.Substring(0, TotalBytes).Replace("\r", "").Replace("\n", "");
|
||||
}
|
||||
public static string GetBuildString()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue