mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00: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:
@@ -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