From 453f2557505b0aecee6d8a477e6d0d72a64d4716 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 14:44:29 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GitRepo.vala b/GitRepo.vala index 71fafbe3..b36d4593 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -140,11 +140,11 @@ public class GitRepo : Object public bool is_autocommit () { - return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_EXIST); + return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS); } public bool is_autopush () { - return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_EXIST); + return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.EXISTS); } /** * add: -- 2.39.2