[repo] Combine paths properly
This commit is contained in:
parent
d4e2d7e37e
commit
c47f999669
|
@ -889,7 +889,7 @@ namespace SparkleLib {
|
||||||
file_path.Contains (".git") ||
|
file_path.Contains (".git") ||
|
||||||
file_path.Contains ("/.") ||
|
file_path.Contains ("/.") ||
|
||||||
file_path.EndsWith (".swp") ||
|
file_path.EndsWith (".swp") ||
|
||||||
System.IO.Directory.Exists (LocalPath + file_path)) {
|
System.IO.Directory.Exists (Path.Combine (LocalPath, file_path))) {
|
||||||
|
|
||||||
return true; // Yes, ignore it
|
return true; // Yes, ignore it
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue