un-revert tryset fix

This commit is contained in:
velzie 2024-08-09 19:56:45 -04:00
parent 0c0490e751
commit e20f1ac89f
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -445,7 +445,7 @@ pub fn rewrite(js: &str, url: Url, config: Config) -> Vec<u8> {
buffer.extend_from_slice(
format!(
"((t)=>$scramjet$tryset({},\"{}\",t)||{}{}t)({})",
"((t)=>$scramjet$tryset({},\"{}\",t)||({}{}t))({})",
name,
fmt_op(*op),
name,