Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js

This commit is contained in:
Nick O'Leary
2023-09-05 15:11:47 +01:00
committed by GitHub
parent 2c1274ff76
commit afb06e8c9a

View File

@@ -80,7 +80,6 @@ module.exports = {
* the write hits disk.
*/
writeFile: async function(path,content,backupPath) {
const reqId = Math.floor(Math.random()*1000)
if (!writeFileLocks[path]) {
writeFileLocks[path] = Promise.resolve()
}