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 6009677
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v8go.cc
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 6009677

Please sign in to comment.