summaryrefslogtreecommitdiff
path: root/bin/rr
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-25 16:18:26 +0300
committerGitHub <[email protected]>2021-01-25 16:18:26 +0300
commitf1875f5715bf7635e17697ae3513ba3d21e4e524 (patch)
treef9c0c3876ef542217a8bd7ff17f90bffc018132f /bin/rr
parenta063ad05b1cab8ec71eecc32f836efa4d431c6b8 (diff)
parent99bf203511b8af4be37186017e2e0c73a030d4f3 (diff)
Merge pull request #429 from spiral/2.0
Release 2.0-dev
Diffstat (limited to 'bin/rr')
-rw-r--r--[-rwxr-xr-x]bin/rr4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rr b/bin/rr
index d7d0b4f2..73013adc 100755..100644
--- a/bin/rr
+++ b/bin/rr
@@ -52,7 +52,6 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ConfirmationQuestion;
-use function Couchbase\defaultDecoder;
class RRHelper
{
@@ -266,6 +265,7 @@ class RRHelper
$progressBar->setFormat('[%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% ' . intval($download_size / 1024) . 'KB');
$progressBar->setProgress($downloaded);
});
+
curl_setopt($curlResource, CURLOPT_NOPROGRESS, false); // needed to make progress function work
curl_setopt($curlResource, CURLOPT_HEADER, 0);
curl_exec($curlResource);
@@ -309,4 +309,4 @@ class RRHelper
$output->writeln('<info>Config file created!</info>');
})
->getApplication()
- ->run();
+ ->run(); \ No newline at end of file