diff options
author | Michal Čihař <michal@cihar.com> | 2016-07-26 11:26:48 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-07-26 11:26:48 +0200 |
commit | 8a262a19ce9da95794c45dd52501606d1d8f9bbe (patch) | |
tree | ff854a6e9b20dad8c2a208f27730df3cdabb5b36 /bin | |
parent | 7245a1eb1ffad9de5849cc88f6602c23c9dcc932 (diff) | |
download | sql-parser-8a262a19ce9da95794c45dd52501606d1d8f9bbe.zip sql-parser-8a262a19ce9da95794c45dd52501606d1d8f9bbe.tar.gz sql-parser-8a262a19ce9da95794c45dd52501606d1d8f9bbe.tar.bz2 |
Show curl errors in silent mode
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/highlight-query | 2 | ||||
-rwxr-xr-x | bin/lint-query | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/highlight-query b/bin/highlight-query index a71e6f4..af85870 100755 --- a/bin/highlight-query +++ b/bin/highlight-query @@ -20,7 +20,7 @@ foreach ($files as $file) { if (!$found) { die( "You need to set up the project dependencies using the following commands:" . PHP_EOL . - "curl -s https://getcomposer.org/installer | php" . PHP_EOL . + "curl -sS https://getcomposer.org/installer | php" . PHP_EOL . "php composer.phar install" . PHP_EOL ); } diff --git a/bin/lint-query b/bin/lint-query index 060454e..4d150cd 100755 --- a/bin/lint-query +++ b/bin/lint-query @@ -20,7 +20,7 @@ foreach ($files as $file) { if (!$found) { die( "You need to set up the project dependencies using the following commands:" . PHP_EOL . - "curl -s https://getcomposer.org/installer | php" . PHP_EOL . + "curl -sS https://getcomposer.org/installer | php" . PHP_EOL . "php composer.phar install" . PHP_EOL ); } |