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

use partials in validator #914

Merged
merged 6 commits into from
Aug 13, 2021
Merged

use partials in validator #914

merged 6 commits into from
Aug 13, 2021

Conversation

oshi97
Copy link
Contributor

@oshi97 oshi97 commented Aug 11, 2021

Use the new partials param in templatedatavalidator instead of fs.existsSync.
This is slightly more robust, for weird cases when somebody registers a card
or universalsectiontemplate in an atypical folder (for example consulting).

J=SLAP-1489
TEST=manual

test that the validator will catch incorrect card and unviersalsectiontemplates

Use the new partials param in templatedatavalidator instead of fs.existsSync.
This is slightly more robust, for weird cases when somebody registers a card
or universalsectiontemplate in an atypical folder.

J=SLAP-1489
TEST=manual

test that the validator will catch incorrect card and unviersalsectiontemplates
@coveralls
Copy link

coveralls commented Aug 11, 2021

Coverage Status

Coverage remained the same at 7.327% when pulling 704f9a6 on dev/pass-partials-to-validator into 2eb46fa on develop.

hooks/templatedatavalidator.js Outdated Show resolved Hide resolved
hooks/templatedatavalidator.js Show resolved Hide resolved
hooks/templatedatavalidator.js Outdated Show resolved Hide resolved
@oshi97 oshi97 requested a review from tmeyer2115 August 13, 2021 13:04
@oshi97 oshi97 merged commit 8256040 into develop Aug 13, 2021
@oshi97 oshi97 deleted the dev/pass-partials-to-validator branch August 13, 2021 14:02
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.

3 participants