mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Unlink input first
This commit is contained in:
@@ -78,8 +78,8 @@ module.exports = class DECTalkCommand extends Command {
|
||||
});
|
||||
let result;
|
||||
try {
|
||||
result = await readFile(outputFile);
|
||||
await unlink(inputFile);
|
||||
result = await readFile(outputFile);
|
||||
await unlink(outputFile);
|
||||
} catch {
|
||||
if (!result) result = null;
|
||||
|
||||
Reference in New Issue
Block a user