hg: fix compile error
This commit is contained in:
parent
aa01351e2a
commit
04c3aeca3b
|
@ -63,8 +63,9 @@ namespace SparkleLib {
|
||||||
hg.Start ();
|
hg.Start ();
|
||||||
hg.WaitForExit ();
|
hg.WaitForExit ();
|
||||||
|
|
||||||
|
string hash = hg.StandardOutput.ReadToEnd ().Trim ();
|
||||||
if (hash.Length > 0)
|
if (hash.Length > 0)
|
||||||
return hg.StandardOutput.ReadToEnd ().Trim ();
|
return hash;
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue