Skip to content

Commit

Permalink
fix: append vendor path for language file (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
imgrant authored May 18, 2022
1 parent 218602d commit 7a765fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClamavValidator/ClamavValidatorServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function boot()
], 'config');
$this->publishes([
__DIR__ . '/../lang' => method_exists($this->app, 'langPath') ?
$this->app->langPath('vendor/clamav-validator')
$this->app->langPath().'/vendor/clamav-validator'
: $this->app->resourcePath('lang/vendor/clamav-validator'),
], 'lang');
$this->app['validator']
Expand Down

0 comments on commit 7a765fa

Please sign in to comment.