-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issue412 #413
Issue412 #413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! A couple of general comments:
- There's a build failure that needs to be resolved
- Does this work with and without a glob pattern in watchFolder? I assume yes since you only changed dog, and not cat, detector in the sample.json file.
yes it works with and without the glob in pattern. I'm working on the build failure (something to do with package-lock). Edit: Just passed build. |
Co-authored-by: danecreekphotography <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the build failure! Looks like there are two build warnings now that need cleaning up in triggermanager.ts due to imports that are no longer used.
Great thanks! I'll take another quick look at this tonight then merge it and produce a |
Yeah you are right. I haven't seen the warnings. Now fixed. |
Solid suggestion. Feel free to open a bug and a PR to get that change in 😂 At the very least open an issue to track it so I can get to it next time I'm touching code. |
Make sense. Issue created #414 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. I'll re-work the text in the release notes when I push the release out.
One requested change: instead of aiinput/asdf
as the sub-folder please change to a real folder name that matches what's inside. I suggest aiinput/dogcamera
or similar.
yeah I should have pay more attention before submitting PR. Done some testing and then you see :). |
uuu I didn't want to do that. I wanted to merge the other way. I'll revert that merge. Makes sense with not touching the files that were created by someone else. I didn't plan to create PR for this as it was more for my setup (ease of adding functionality to existing app rather then creating completely new one) |
Fixes #412
Description of changes
Modified verifyTriggerWatchLocations to use glob.sync(trigger.watchPattern) instead of fs.readdirsync()
Checklist
If your change touches anything under src or the README.md file
these items must be done: