From 6dae9bd3933e8f5aeb23aff3d368dced2ff7410d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:12:54 +0000 Subject: [PATCH] style: auto format --- lib/v2/eleduck/posts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/v2/eleduck/posts.js b/lib/v2/eleduck/posts.js index 19787d575..c0f1358d4 100644 --- a/lib/v2/eleduck/posts.js +++ b/lib/v2/eleduck/posts.js @@ -21,7 +21,7 @@ module.exports = async (ctx) => { const { posts } = response.data; if (posts === undefined) { - throw new Error("没有获取到数据"); + throw new Error('没有获取到数据'); } const cname = await getCateName(ctx, cid); @@ -38,5 +38,4 @@ module.exports = async (ctx) => { author: item.user.nickname, })), }; - };