Skip to content

Commit

Permalink
Update SelfDiagnosisServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Aug 26, 2019
1 parent 27c466c commit 803bed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SelfDiagnosisServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class SelfDiagnosisServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis');

if ($this->app->runningInConsole()) {

$this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis');

$this->publishes([
__DIR__.'/../translations' => resource_path('lang/vendor/self-diagnosis'),
], 'translations');
Expand Down

0 comments on commit 803bed6

Please sign in to comment.