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

Implemented Regex invert and revamped template validation #277

Merged
merged 6 commits into from
May 21, 2024

Conversation

TR1VER
Copy link
Contributor

@TR1VER TR1VER commented May 20, 2024

  • Regex dots are now inverted, so file names will be clearer when used.
    • For example index.js will become index.js in the backend making the dot escaped.
    • To keep using regex use a escaped dot \. -> .
  • Template validation is revamped
    • Instead of using templateIsValid() there is now tryTemplate(). This will try the template and throw an error if the template is faulty anywhere.
    • Template validation was implemented for structure tests also.

@TR1VER TR1VER requested a review from Aqua-sc May 20, 2024 09:32
Copy link
Contributor

@Aqua-sc Aqua-sc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Werkt prima (idk waarom de test faalt via github, kga eens zien)

@Aqua-sc Aqua-sc merged commit c0c96a9 into development May 21, 2024
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.

3 participants