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
1 changed files with 0 additions and 1 deletions

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()
}