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

Check autostart condition before launching #76

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

mapster
Copy link
Contributor

@mapster mapster commented Jun 6, 2023

Added a simple function to validate the AutostartCondition of autostart applications, but it only evaluates the if-exists and unless-exists conditions.

@Biont
Copy link
Owner

Biont commented Jun 6, 2023

Looks great! Would you be able to add a simple BATS test for this/extend the existing one?

@mapster
Copy link
Contributor Author

mapster commented Jun 6, 2023

I added some tests, but I've never used bats before so I don't know if I'm breaking some patterns.

@Biont
Copy link
Owner

Biont commented Jun 6, 2023

LGTM, thanks!

@Biont Biont merged commit 7a9a71b into Biont:master Jun 6, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants