Nested template functions (#186)

This commit is contained in:
Gregory Schier authored and GitHub committed 2025-03-18 12:49:19 -07:00
1 parent b9ed554aca
commit cb773babe1
9 files changed
+321 -118

No files matched your search

+2 -2
View File
@@ -114,8 +114,8 @@ async fn cmd_metadata(app_handle: AppHandle) -> Result<AppMetaData, ()> {
}
#[tauri::command]
async fn cmd_parse_template(template: &str) -> Result<Tokens, String> {
Ok(Parser::new(template).parse())
async fn cmd_parse_template(template: &str) -> YaakResult<Tokens> {
Ok(Parser::new(template).parse()?)
}
#[tauri::command]