Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
fixed undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
mrepol742 authored Mar 29, 2024
1 parent 7595fe2 commit ef720b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9034,14 +9034,14 @@ function formatCodeBlock(str) {
function writeFolder(dir) {
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
utils.logged("creating_dir " + __dirname + folder_dir[folder]);
utils.logged("creating_dir " + dir);
}
}

function writeFile(dir, content) {
if (!fs.existsSync(dir)) {
fs.writeFileSync(dir, content, "utf8");
utils.logged("writing_file " + __dirname + folder_dir[folder]);
utils.logged("writing_file " + dir);
}
}

Expand Down

0 comments on commit ef720b6

Please sign in to comment.