From 6f397dc2415755eea5a438be49d2b55a1c65b25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 30 Jun 2022 11:28:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20config=E6=96=87=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E5=90=88=E6=B3=95=E6=97=B6=E6=9C=AA=E6=8A=9B=E5=87=BA=E5=85=B7?= =?UTF-8?q?=E4=BD=93=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7f169d1..48ba92b 100644 --- a/src/index.js +++ b/src/index.js @@ -52,7 +52,7 @@ class UniID { try { configContent = uniIDConfig.config() } catch (error) { - throw new Error('Invalid uni-id config file\n' + error.messages) + throw new Error('Invalid uni-id config file\n' + error.message) } // require [1,2] => {0:1,1:2} if (Array.isArray(configContent)) { -- GitLab