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

App type from manifest is not tested #118

Open
gregorylegarec opened this issue Sep 11, 2018 · 0 comments
Open

App type from manifest is not tested #118

gregorylegarec opened this issue Sep 11, 2018 · 0 comments

Comments

@gregorylegarec
Copy link
Contributor

CozyPublish allows only two types of app : webapp or konnector. We should check if the field type in manifest matches one of those two values, as it has been done here https://github.com/cozy/cozy-libs/blob/master/packages/cozy-app-publish/lib/prepublish.js#L51.

Maybe share the validation code in a new library cozy-validation is a good start.

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