10000 * adjust indent · Shopify/ruby@a60bf9e · GitHub
[go: up one dir, main page]

Skip to content

Commit a60bf9e

Browse files
committed
* adjust indent
1 parent c09619d commit a60bf9e

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

compile.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13384,7 +13384,8 @@ outer_variable_cmp(const void *a, const void *b, void *arg)
1338413384

1338513385
if (!ap->name) {
1338613386
return -1;
13387-
} else if (!bp->name) {
13387+
}
13388+
else if (!bp->name) {
1338813389
return 1;
1338913390
}
1339013391

hash.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3872,7 +3872,6 @@ rb_hash_values(VALUE hash)
38723872
}
38733873
rb_ary_set_len(values, size);
38743874
}
3875-
38763875
else {
38773876
rb_hash_foreach(hash, values_i, values);
38783877
}

proc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,8 @@ rb_sym_to_proc(VALUE sym)
15621562
RARRAY_ASET(sym_proc_cache, index, procval);
15631563

15641564
return RB_GC_GUARD(procval);
1565-
} else {
1565+
}
1566+
else {
15661567
return sym_proc_new(rb_cProc, sym);
15671568
}
15681569
}

re.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3507,7 +3507,8 @@ rb_reg_regcomp(VALUE str)
35073507
return reg_cache;
35083508

35093509
return reg_cache = rb_reg_new_str(str, 0);
3510-
} else {
3510+
}
3511+
else {
35113512
return rb_reg_new_str(str, 0);
35123513
}
35133514
}

thread.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6229,7 +6229,8 @@ threadptr_interrupt_exec_exec(rb_thread_t *th)
62296229
if (task) {
62306230
if (task->flags & rb_interrupt_exec_flag_new_thread) {
62316231
rb_thread_create(task->func, task->data);
6232-
} else {
6232+
}
6233+
else {
62336234
(*task->func)(task->data);
62346235
}
62356236
ruby_xfree(task);

0 commit comments

Comments
 (0)
0