(ignore: Ignore)
| 394 | ignoreDirs: [], |
| 395 | }); |
| 396 | const getOptions = (ignore: Ignore) => ({ |
| 397 | crawlDirectory: tmpDir, |
| 398 | cwd: tmpDir, |
| 399 | ignore, |
| 400 | cache: true, |
| 401 | cacheTtl: 10000, |
| 402 | }); |
| 403 | |
| 404 | // Initial crawl to populate the cache |
| 405 | const ignore1 = getIgnore(); |