fix(Local File Trigger Node): Fix issue that causes a crash if the ignore field is empty (#4824) (#4825)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user