From 335f3ec07b1f063125a89fcb01f83f8d66d21049 Mon Sep 17 00:00:00 2001 From: catus felis Date: Fri, 15 Nov 2024 05:54:28 +0000 Subject: [PATCH] Updates debug meesage --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f9f309c..965ebd5 100644 --- a/index.js +++ b/index.js @@ -82,9 +82,9 @@ function start(cliArguments) { // Write the JSON string to a file synchronously try { fs.writeFileSync(config_data_file, jsonData) - console.log('Data has been saved to data.json') + console.log(`Data has been saved to ${config_data_file}`) } catch (err) { - console.log('Error writing to file:', err) + console.log(`Error writing to file: ${config_data_file}`, err) } // Log the entire arguments array