Skip to content

Commit

Permalink
style: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xiCO2k committed Jul 24, 2022
1 parent 279892d commit a84e457
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 66 deletions.
129 changes: 64 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/utils/has-php-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ function checkProcessEnv(): boolean {

function checkImportMeta(): boolean {
/** @ts-ignore */
return typeof import.meta.env !== 'undefined' && import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP ? true : false
return typeof import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP !== 'undefined' &&
/** @ts-ignore */
import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP
? true
: false
}

0 comments on commit a84e457

Please sign in to comment.