Skip to content

Commit

Permalink
Merge pull request #61 from sangnguyenplus/master
Browse files Browse the repository at this point in the history
Fix function check missing .p12 file
  • Loading branch information
freekmurze committed May 13, 2016
2 parents ff30fde + bb16cd5 commit a304c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelAnalyticsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function getGoogleApiHelperClient()
*/
protected function guardAgainstMissingP12()
{
if ($this->app['files']->exists(config('laravel-analytics.certificatePath'))) {
if (!$this->app['files']->exists(config('laravel-analytics.certificatePath'))) {
throw new \Exception("Can't find the .p12 certificate in: ".config('laravel-analytics.certificatePath'));
}
}
Expand Down

0 comments on commit a304c34

Please sign in to comment.