We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7062c31 commit 4585eecCopy full SHA for 4585eec
events.ts
@@ -33,7 +33,7 @@ export function observeFileEvents(
33
options: string | ObserveFileEventsOptions
34
): Observable<FileEvent> {
35
const path = resolve(typeof options === "string" ? options : options.path);
36
- const recursive = typeof options === "object" ? options.recursive ?? false : false;
+ const recursive = typeof options === "object" ? (options.recursive ?? false) : false;
37
const ready = {event: "Ready", path, recursive} as const;
38
39
const events = new Observable<FileEvent>(subscriber => {
0 commit comments