Rollback "command-exists-promise" as it is not working

This commit is contained in:
Louis Lam
2025-06-15 19:01:55 +08:00
parent 86de907acd
commit 1f4622f5f3
5 changed files with 20 additions and 13 deletions

View File

@@ -77,6 +77,7 @@ const SendGrid = require("./notification-providers/send-grid");
const YZJ = require("./notification-providers/yzj");
const SMSPlanet = require("./notification-providers/sms-planet");
const SpugPush = require("./notification-providers/spugpush");
const { commandExists } = require("./util-server");
class Notification {
@@ -262,7 +263,6 @@ class Notification {
* @returns {Promise<boolean>} Does the command apprise exist?
*/
static async checkApprise() {
const commandExists = require("command-exists-promise");
return await commandExists("apprise");
}