mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
fix loop when calling writeToWatchedFile on non editable file
This commit is contained in:
parent
558f6ce37e
commit
8ff2aa9d1f
3
node_modules/vfs-local/localfs.js
generated
vendored
3
node_modules/vfs-local/localfs.js
generated
vendored
@ -723,7 +723,8 @@ module.exports = function setup(fsOptions) {
|
||||
buffer.push(["end"]);
|
||||
}
|
||||
function error(err) {
|
||||
resume();
|
||||
if (!options.bufferWrite)
|
||||
resume();
|
||||
if (tempPath) {
|
||||
fs.unlink(tempPath, callback.bind(null, err));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user