From b4660c27e6d1365ad5f792dfca06a10288029eb9 Mon Sep 17 00:00:00 2001 From: keeramis Date: Fri, 6 Dec 2024 15:18:56 -0800 Subject: [PATCH] fix --- src/cmd/flash.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cmd/flash.js b/src/cmd/flash.js index f98ac1a87..5a65cde36 100644 --- a/src/cmd/flash.js +++ b/src/cmd/flash.js @@ -140,8 +140,9 @@ module.exports = class FlashCommand extends CLICommandBase { }); // put the output in a log file if not verbose if (!verbose) { - await fs.writeFile(path.join(process.cwd(), `qdl-${Date.now()}.log`), res.stdout); - this.ui.write(`Download complete. Check the log file for more details${os.EOL}`); + const outputLog = path.join(process.cwd(), `qdl-${Date.now()}.log`); + await fs.writeFile(outputLog, res.stdout); + this.ui.write(`Download complete. Output log available at ${outputLog}${os.EOL}`); } else { this.ui.write(`Download complete${os.EOL}`); }