(() => { // swallow error and fallback to using directory as path }) as string[];