From 78e8d8467ce048f17418b4f9c489b8b009d34a40 Mon Sep 17 00:00:00 2001 From: "S. Elliott Johnson" Date: Mon, 8 May 2023 21:51:35 -0600 Subject: [PATCH] Lint and format src/runtime/internal/globals.js --- src/runtime/internal/globals.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/runtime/internal/globals.js b/src/runtime/internal/globals.js index c9fa7ab38b..e2e3cc4257 100644 --- a/src/runtime/internal/globals.js +++ b/src/runtime/internal/globals.js @@ -1,9 +1,2 @@ -export const globals = (typeof window !== 'undefined' - ? window - : typeof globalThis !== 'undefined' - ? globalThis - : global); - - - - +export const globals = + typeof window !== 'undefined' ? window : typeof globalThis !== 'undefined' ? globalThis : global;