From 55a85a9960518664b6dab378766ddfe1ad4a7985 Mon Sep 17 00:00:00 2001 From: hemengke <23536175@qq.com> Date: Wed, 7 Aug 2024 11:47:38 +0800 Subject: [PATCH] chore: release --- packages/prettier/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prettier/index.js b/packages/prettier/index.js index 6bfd850..10b049d 100644 --- a/packages/prettier/index.js +++ b/packages/prettier/index.js @@ -70,7 +70,7 @@ module.exports = { function resolvePeerDependency(name) { try { return require.resolve(name) - } catch (error) { + } catch { return '' } }