You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Simplify template render check logic
Also documents a bunch of things in mas_core::templates
This commit is contained in:
@ -59,7 +59,8 @@ impl TemplatesCommand {
|
||||
}
|
||||
|
||||
SC::Check { path, skip_builtin } => {
|
||||
Templates::load(Some(path), !skip_builtin)?;
|
||||
let templates = Templates::load(Some(path), !skip_builtin)?;
|
||||
templates.check_render()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user