From 28a20f4c1d0d98ed5955017e739a15390357ab4e Mon Sep 17 00:00:00 2001 From: Hysterelius <71912794+Hysterelius@users.noreply.github.com> Date: Sun, 21 Jul 2024 09:34:10 +1000 Subject: [PATCH] Fix npm bugs v2 --- package_abridge.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package_abridge.js b/package_abridge.js index 57354d5..c493b5d 100644 --- a/package_abridge.js +++ b/package_abridge.js @@ -7,15 +7,6 @@ const util = require("util"); const { exec } = require("child_process"); const execPromise = util.promisify(exec); -let replaceInFileSync; - -(async () => { - const replaceInFileModule = await import('replace-in-file'); - replaceInFileSync = replaceInFileModule.replaceInFileSync; - - // Your code that uses replaceInFileSync here -})(); - if (!(fs.existsSync('config.toml'))) { throw new Error('ERROR: cannot find config.toml!'); }