mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-24 11:02:12 -08:00
fix(Local File Trigger Node): Fix issue that causes a crash if the ignore field is empty (#4824) (#4825)
This commit is contained in:
parent
75ad3d168c
commit
c3114241fd
|
@ -182,7 +182,7 @@ export class LocalFileTrigger implements INodeType {
|
|||
}
|
||||
|
||||
const watcher = watch(path, {
|
||||
ignored: options.ignored,
|
||||
ignored: options.ignored === '' ? undefined : options.ignored,
|
||||
persistent: true,
|
||||
ignoreInitial: true,
|
||||
followSymlinks:
|
||||
|
|
Loading…
Reference in a new issue