Skip to content

Commit

Permalink
use {js| |js} string delimiters (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine committed Apr 25, 2023
1 parent 8c807bc commit 624cf93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/yoshi/lib/yoshi.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module Gen = struct

let rec string_of_field_value value =
match value with
| `String s -> Printf.sprintf "\"%s\"" s
| `String s -> Printf.sprintf "{js|%s|js}" s
| `Int i -> string_of_int i
| `Float f -> string_of_float f
| `Bool b -> string_of_bool b
Expand Down

0 comments on commit 624cf93

Please sign in to comment.