From ba50c9d7df0503706836b261708ab7bfaa56c594 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Wed, 28 Aug 2024 22:05:49 +0800 Subject: [PATCH] update: lint --- .github/workflows/tgbot.yml | 18 +++++++++--------- README.md | 2 +- addon/chrome/content/syncManager.xhtml | 2 +- addon/chrome/content/templateEditor.xhtml | 2 +- src/modules/editor/toolbar.ts | 2 +- src/utils/note.ts | 7 ++++++- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tgbot.yml b/.github/workflows/tgbot.yml index 568055d..dd1243c 100644 --- a/.github/workflows/tgbot.yml +++ b/.github/workflows/tgbot.yml @@ -8,12 +8,12 @@ jobs: send_message: runs-on: ubuntu-latest steps: - - name: Send Telegram Message - run: | - msg_text=' - 📢 A new release of ${{ github.repository }} is published: ${{ github.event.release.tag_name }} - Release Name: ${{ github.event.release.name }} - Description: ${{ github.event.release.body }} - You can check updates in Zotero to get the latest version, or view on GitHub: ${{ github.event.release.html_url }}' - curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TG_BOT_TOKEN }}/sendMessage' \ - -d "chat_id=${{ secrets.TG_CHAT_ID }}&text=${msg_text}&reply_to_message_id=${{ secrets.TG_MSG_ID }}" + - name: Send Telegram Message + run: | + msg_text=' + 📢 A new release of ${{ github.repository }} is published: ${{ github.event.release.tag_name }} + Release Name: ${{ github.event.release.name }} + Description: ${{ github.event.release.body }} + You can check updates in Zotero to get the latest version, or view on GitHub: ${{ github.event.release.html_url }}' + curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TG_BOT_TOKEN }}/sendMessage' \ + -d "chat_id=${{ secrets.TG_CHAT_ID }}&text=${msg_text}&reply_to_message_id=${{ secrets.TG_MSG_ID }}" diff --git a/README.md b/README.md index 1ef0db2..b309f1e 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ Simply click on the corresponding export button in the toolbar and follow the pr ### LLM Integration -The [Zotero-GPT](https://github.com/MuiseDestiny/zotero-gpt) plugin provides GPT Integration. If you also have Better Notes installed, you can wake up its chatting pane in the note editor and insert/modify content in the note. +The [Zotero-GPT](https://github.com/MuiseDestiny/zotero-gpt) plugin provides GPT Integration. If you also have Better Notes installed, you can wake up its chatting pane in the note editor and insert/modify content in the note. ### Action Workflow diff --git a/addon/chrome/content/syncManager.xhtml b/addon/chrome/content/syncManager.xhtml index e9f7fda..0fc867e 100644 --- a/addon/chrome/content/syncManager.xhtml +++ b/addon/chrome/content/syncManager.xhtml @@ -107,7 +107,7 @@