Skip to content

Commit

Permalink
Fix npm bugs v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Hysterelius committed Jul 20, 2024
1 parent b0371d9 commit 28a20f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions package_abridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
}
Expand Down

0 comments on commit 28a20f4

Please sign in to comment.