Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Dec 18, 2024
1 parent f16a81c commit 4372234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineNuxtModule<VueFireNuxtModuleOptions>({
// resolve options
const isAuthEnabled =
typeof _options.auth === 'object'
? _options.auth.enabled ?? true // allows user to comment out enabled: false
? (_options.auth.enabled ?? true) // allows user to comment out enabled: false
: !!_options.auth

const options = {
Expand All @@ -65,7 +65,7 @@ export default defineNuxtModule<VueFireNuxtModuleOptions>({
emulators: {
enabled:
typeof _options.emulators === 'object'
? _options.emulators.enabled ?? true // allows user to comment out enabled: false
? (_options.emulators.enabled ?? true) // allows user to comment out enabled: false
: !!_options.emulators,
...(typeof _options.emulators === 'object' ? _options.emulators : {}),
},
Expand Down

0 comments on commit 4372234

Please sign in to comment.