From 91853e4296cbeeedd692d1a663c649bc7adc1e4e Mon Sep 17 00:00:00 2001 From: mol Date: Thu, 14 Dec 2023 11:11:55 +0800 Subject: [PATCH] test --- .drone.yml | 4 ++-- plugins/cook/index.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 473b128..6dd48d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -65,8 +65,8 @@ steps: # 定义管道的执行步骤 pull: if-not-exists depends_on: [build-image] volumes: - - name: cache - path: /cache + - name: cache + path: /cache settings: rebuild: true mount: diff --git a/plugins/cook/index.js b/plugins/cook/index.js index 59a5683..def25dd 100644 --- a/plugins/cook/index.js +++ b/plugins/cook/index.js @@ -41,6 +41,9 @@ function cookInit() { } function dealCommon(data) { + for (let i of data.keys()) { + logger(data[i]) + } logger('开始处理指令') logger(data) const [commandText, ...contentText] = data.text.trim().split(' ');