From ef720b639e9e102773e48080887de8b3af5109a1 Mon Sep 17 00:00:00 2001 From: Melvin Jones Repol Date: Fri, 29 Mar 2024 20:06:55 +0800 Subject: [PATCH] fixed undefined --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 974c6ff5..492a0c51 100644 --- a/index.js +++ b/index.js @@ -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); } }