Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process exits when it cannot find any files to parse #68

Open
gyfchong opened this issue Jun 16, 2023 · 0 comments
Open

Process exits when it cannot find any files to parse #68

gyfchong opened this issue Jun 16, 2023 · 0 comments

Comments

@gyfchong
Copy link

Currently I'm trying to use this to scan multiple directories using await scanner.run() within a loop.

The issue is that some of these directories may or may not have the files I'm looking to match, so when the scanner decides to exit at the first sight of no files, this causes a problem in the rest of the process.

I expect it to let me know no files are found and perhaps leave it to me to decide what to do when it can't find any files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant