From afb06e8c9a72b2f67db0f2f70045cdd7d1a9aae9 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 5 Sep 2023 15:11:47 +0100 Subject: [PATCH] Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js --- .../@node-red/runtime/lib/storage/localfilesystem/util.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js b/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js index 6775dcda7..e386368eb 100644 --- a/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js +++ b/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js @@ -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() }