From a191dc35bad1a265437f032bbba4c394ba4cd2c6 Mon Sep 17 00:00:00 2001 From: Nish Krishnan Date: Fri, 12 Nov 2021 16:28:48 -0800 Subject: [PATCH] Add skip dir. (#152) --- server/events/working_dir_iterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events/working_dir_iterator.go b/server/events/working_dir_iterator.go index 2976a6a3ae..76fe569dfe 100644 --- a/server/events/working_dir_iterator.go +++ b/server/events/working_dir_iterator.go @@ -89,7 +89,7 @@ func (f *FileWorkDirIterator) ListCurrentWorkingDirPulls() ([]models.PullRequest f.Log.Warn("%s/%s/#%d not found, %s", ownerName, repoName, pullNum, notFoundErr) - return nil + return fs.SkipDir } internalPull, _, _, err := f.EventParser.ParseGithubPull(pull)