From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/@nuxt/cli/node_modules/semver/functions/cmp.js |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/PAMapp/node_modules/@nuxt/cli/node_modules/semver/functions/cmp.js b/PAMapp/node_modules/@nuxt/cli/node_modules/semver/functions/cmp.js
index 3b89db7..4011909 100644
--- a/PAMapp/node_modules/@nuxt/cli/node_modules/semver/functions/cmp.js
+++ b/PAMapp/node_modules/@nuxt/cli/node_modules/semver/functions/cmp.js
@@ -8,17 +8,21 @@
 const cmp = (a, op, b, loose) => {
   switch (op) {
     case '===':
-      if (typeof a === 'object')
+      if (typeof a === 'object') {
         a = a.version
-      if (typeof b === 'object')
+      }
+      if (typeof b === 'object') {
         b = b.version
+      }
       return a === b
 
     case '!==':
-      if (typeof a === 'object')
+      if (typeof a === 'object') {
         a = a.version
-      if (typeof b === 'object')
+      }
+      if (typeof b === 'object') {
         b = b.version
+      }
       return a !== b
 
     case '':

--
Gitblit v1.8.0