Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Dec 6, 2024
1 parent 1824ecb commit b4660c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cmd/flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
Expand Down

0 comments on commit b4660c2

Please sign in to comment.