Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-oswald authored Jul 2, 2024
1 parent ceff1fb commit c6a4f18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Installer/MoodleInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Check warning on line 71 in src/Installer/MoodleInstaller.php

View check run for this annotation

Codecov / codecov/patch

src/Installer/MoodleInstaller.php#L71

Added line #L71 was not covered by tests
}
Expand Down

0 comments on commit c6a4f18

Please sign in to comment.