Skip to content

Commit

Permalink
fix: deprecated fs function
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Feb 21, 2024
1 parent 7f0a1fa commit 73f7382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer-server/src/logic/message-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function createMessageHandlerComponent({

const filesToUpload = result.lodsFiles.concat(result.logFile)
await storage.storeFiles(filesToUpload, base, message.entity.entityTimestamp.toString())
fs.rmdirSync(result.outputPath, { recursive: true })
fs.rmSync(result.outputPath, { recursive: true })
}

return { handle }
Expand Down

0 comments on commit 73f7382

Please sign in to comment.