refactor: use v8::String::Empty()
when creating empty strings (#46349)
refactor: use v8::String::Empty() when creating empty strings
This commit is contained in:
parent
bf93427cbb
commit
2fa4fb0da9
3 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@ struct Converter<electron::BundlerMoverConflictType> {
|
|||
case electron::BundlerMoverConflictType::kExistsAndRunning:
|
||||
return gin::StringToV8(isolate, "existsAndRunning");
|
||||
default:
|
||||
return gin::StringToV8(isolate, "");
|
||||
return v8::String::Empty(isolate);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue