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:
parent
2c1274ff76
commit
afb06e8c9a
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user