summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-04-19 22:02:10 +0900
committerNobuyoshi Nakada <[email protected]>2025-04-19 22:02:10 +0900
commitc218862d3c664b4afff5acce55d7a6eb13779809 (patch)
treec5dde0ff7443236a9846f95ffffcbb36547e0411 /error.c
parentd6d4e6877c9670b871ba44b9ca8bece033d17f22 (diff)
Fix style [ci skip]
Diffstat (limited to 'error.c')
-rw-r--r--error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/error.c b/error.c
index 1a8a4cd430..d3aeec54d8 100644
--- a/error.c
+++ b/error.c
@@ -4195,7 +4195,8 @@ rb_warn_unchilled_literal(VALUE obj)
VALUE created = get_created_info(str, &line);
if (NIL_P(created)) {
rb_str_cat2(mesg, " (run with --debug-frozen-string-literal for more information)\n");
- } else {
+ }
+ else {
rb_str_cat2(mesg, "\n");
rb_str_append(mesg, created);
if (line) rb_str_catf(mesg, ":%d", line);