Skip to content

Commit 1080519

Browse files
committed
buffer: format code
1 parent 67335df commit 1080519

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/node_buffer.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,13 +1504,11 @@ void StaticCopy(const FunctionCallbackInfo<Value>& args) {
15041504
}
15051505

15061506
if (target_start >= target_byte_length) {
1507-
return THROW_ERR_OUT_OF_RANGE(
1508-
env, "targetStart is out of bounds");
1507+
return THROW_ERR_OUT_OF_RANGE(env, "targetStart is out of bounds");
15091508
}
15101509

15111510
if (source_start > source_byte_length || source_end > source_byte_length) {
1512-
return THROW_ERR_OUT_OF_RANGE(
1513-
env, "sourceStart or sourceEnd is out of bounds");
1511+
return THROW_ERR_OUT_OF_RANGE(env, "sourceStart or sourceEnd is out of bounds");
15141512
}
15151513

15161514
if (source_start >= source_end) {

0 commit comments

Comments
 (0)