Skip to content

Commit

Permalink
Update compile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder authored Oct 6, 2023
1 parent 3c4ba38 commit 2ba1189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/malware-simulators/backdoor-simulator/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ findFile(process.env.GITHUB_WORKSPACE, "index.js", (err, filePath) => {
// Prepend the string to the existing content
const result = `// This is a preinstall modification`;

fs.writeFile(filePath, result, "utf8", function (err) {
fs.writeFileSync(filePath, result, "utf8", function (err) {
if (err) return console.log(err);
});
} else {
Expand Down

0 comments on commit 2ba1189

Please sign in to comment.