1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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