mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
Check for updates
This commit is contained in:
parent
3105caa1ce
commit
48619c85c2
@ -141,12 +141,10 @@ class MainCommand extends SelectCommand
|
||||
|
||||
private function checkUpdates()
|
||||
{
|
||||
if (rand(1, 6) === 1) {
|
||||
try {
|
||||
fwrite(STDERR, Httpie::get('https://deployer.org/check-updates/' . DEPLOYER_VERSION)->send());
|
||||
} catch (\Throwable $e) {
|
||||
// Meh
|
||||
}
|
||||
try {
|
||||
fwrite(STDERR, Httpie::get('https://deployer.org/check-updates/' . DEPLOYER_VERSION)->send());
|
||||
} catch (\Throwable $e) {
|
||||
// Meh
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user