Skip to content

Commit a84e457

Browse files
committed
style: fixes
1 parent 279892d commit a84e457

File tree

2 files changed

+69
-66
lines changed

2 files changed

+69
-66
lines changed

package-lock.json

Lines changed: 64 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/has-php-translations.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ function checkProcessEnv(): boolean {
88

99
function checkImportMeta(): boolean {
1010
/** @ts-ignore */
11-
return typeof import.meta.env !== 'undefined' && import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP ? true : false
11+
return typeof import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP !== 'undefined' &&
12+
/** @ts-ignore */
13+
import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP
14+
? true
15+
: false
1216
}

0 commit comments

Comments
 (0)