From 24039873f2bfe7243f2014beb28d80ddf245451c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 17 May 2016 19:38:53 -0700 Subject: [PATCH] Fix brew installations. --- cli/Valet/Brew.php | 2 +- cli/valet.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/Valet/Brew.php b/cli/Valet/Brew.php index d9d84028c..79c1eda7c 100644 --- a/cli/Valet/Brew.php +++ b/cli/Valet/Brew.php @@ -74,7 +74,7 @@ function installOrFail($formula, array $taps = []) output('['.$formula.'] is not installed, installing it now via Brew... 🍻'); - $this->cli->run('brew install '.$formula, function ($errorOutput) use ($formula) { + $this->cli->runAsUser('brew install '.$formula, function ($exitCode, $errorOutput) use ($formula) { output($errorOutput); throw new DomainException('Brew was unable to install ['.$formula.'].'); diff --git a/cli/valet.php b/cli/valet.php index 1215e4fae..e37c05764 100755 --- a/cli/valet.php +++ b/cli/valet.php @@ -18,7 +18,7 @@ */ Container::setInstance(new Container); -$version = '1.1.11'; +$version = '1.1.12'; $app = new Application('Laravel Valet', $version);