Skip to content

Commit

Permalink
Update inject.js
Browse files Browse the repository at this point in the history
fixe for ESM
  • Loading branch information
danchitnis committed Nov 17, 2024
1 parent e2593b3 commit fcbee9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docker/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function runThings() {
const textAll = [text1, text2, text3, text4, text5];
const textAllrep = [text1rep, text2rep, text3rep, text4rep, text5rep];

let fs = require("fs");
import fs from "fs";

fs.readFile(filename, "utf8", function (err, data) {
if (err) {
Expand Down

0 comments on commit fcbee9a

Please sign in to comment.