Skip to content

Commit 6854b42

Browse files
authored
Merge pull request #7 from krasilnikovm/fix-return-status-code-when-cron-file-not-changed
Replaced return code from Failed to Success when cron file not changed
2 parents 1494101 + b7fd0f7 commit 6854b42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Services/CrontabInstaller.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ public function install(): int
7777
if ($changed) {
7878
return $this->executeInstall();
7979
}
80-
return Command::FAILURE;
80+
81+
return Command::SUCCESS;
8182
}
8283

8384
/**

0 commit comments

Comments
 (0)