default path to git
avoid it stays null when not found in paths[]
This commit is contained in:
parent
1e32374e81
commit
79e96b3bf0
|
@ -32,6 +32,7 @@ namespace SparkleLib {
|
|||
public SparkleBackend (string name, string [] paths)
|
||||
{
|
||||
Name = name;
|
||||
Path = "git";
|
||||
|
||||
foreach (string path in paths) {
|
||||
if (File.Exists (path)) {
|
||||
|
|
Loading…
Reference in a new issue