Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Genevieve L'Esperance committed Jan 11, 2022
1 parent 7a9bb8e commit 28c6b9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v8go.cc
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,8 @@ RtnValue NewValueString(IsolatePtr iso, const char* v, int v_length) {
TryCatch try_catch(iso);
RtnValue rtn = {};
Local<String> str;
if (!String::NewFromUtf8(iso, v, NewStringType::kNormal, v_length).ToLocal(&str)) {
if (!String::NewFromUtf8(iso, v, NewStringType::kNormal, v_length)
.ToLocal(&str)) {
rtn.error = ExceptionError(try_catch, iso, ctx->ptr.Get(iso));
return rtn;
}
Expand Down

0 comments on commit 28c6b9a

Please sign in to comment.