From 9c1bd6b8190fefead69bf257cb86ea3a3ff4239f Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Thu, 25 Apr 2024 10:29:33 +0800 Subject: [PATCH] chore(script): do not throw error when version does not match --- scripts/checkPackageVersion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkPackageVersion.js b/scripts/checkPackageVersion.js index bf5dda923..62a67efe2 100644 --- a/scripts/checkPackageVersion.js +++ b/scripts/checkPackageVersion.js @@ -24,7 +24,7 @@ const check = async () => { if (emqxVersion !== packageVersion) { console.log('EMQX Version:', emqxVersion) console.log('Package Version:', packageVersion) - console.warning('EMQX version and package version are not the same!') + console.warn('EMQX version and package version are not the same!') } }