From bf6e46ee17f25fc32e5bdad303bac2fab2c2d85f Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <adhisimon@gmail.com> Date: Wed, 19 Jun 2024 19:43:23 +0700 Subject: [PATCH] Remove node: prefix on require for compability reason --- sd-notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd-notify.js b/sd-notify.js index f48516c..c719eda 100644 --- a/sd-notify.js +++ b/sd-notify.js @@ -7,7 +7,7 @@ const util = require('util'); const logger = require('tektrans-logger'); const matrix = require('./matrix'); -const exec = util.promisify(require('node:child_process').exec); +const exec = util.promisify(require('child_process').exec); const notifyUseSystemdNotify = async (statusMsg) => { try { -- 1.9.0