From c6a4f18ac20072c9292caefc07498cf6e7cb4904 Mon Sep 17 00:00:00 2001 From: Jay Oswald Date: Tue, 2 Jul 2024 14:39:53 +1000 Subject: [PATCH] Add comment --- src/Installer/MoodleInstaller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Installer/MoodleInstaller.php b/src/Installer/MoodleInstaller.php index ac86608f..45ad3149 100644 --- a/src/Installer/MoodleInstaller.php +++ b/src/Installer/MoodleInstaller.php @@ -66,6 +66,7 @@ public function install(): void $this->moodle->directory, ]; + // Only run git clone if it does not already exist if (!is_dir($this->moodle->directory)) { $this->execute->mustRun(new Process($cmd, null, null, null, null)); }