change codegen to not alert by default on error

This commit is contained in:
llama 2025-10-18 09:59:39 +08:00
parent b04520a352
commit 8ec9d4d1e5
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -84,7 +84,7 @@ fn write_ts_method(
let comments = format_comments(comments); let comments = format_comments(comments);
let proto_method_name = method_name; let proto_method_name = method_name;
let options = if is_launcher { let options = if is_launcher {
"{ ...options, customProtocol: true }" "{ ...options, customProtocol: true, alertOnError: false }"
} else { } else {
"options" "options"
}; };