Skip to content

Commit d552261

Browse files
committed
buffer: format cpp
1 parent c564920 commit d552261

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/node_buffer.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,9 +1484,8 @@ void StaticCopy(const FunctionCallbackInfo<Value>& args) {
14841484
}
14851485

14861486
if (source_start > source_byte_length || source_end > source_byte_length) {
1487-
return THROW_ERR_OUT_OF_RANGE(
1488-
env,
1489-
"sourceStart or sourceEnd is out of bounds");
1487+
return THROW_ERR_OUT_OF_RANGE(env,
1488+
"sourceStart or sourceEnd is out of bounds");
14901489
}
14911490

14921491
if (source_start >= source_end) {

0 commit comments

Comments
 (0)