We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3ebc39 commit c9d49d6Copy full SHA for c9d49d6
src/string_bytes.h
@@ -42,7 +42,7 @@ class StringBytes {
42
enum encoding enc = ParseEncoding(env->isolate(), encoding, _default);
43
if (!StringBytes::IsValidString(string, enc)) {
44
env->ThrowTypeError("Bad input string");
45
- return v8::Just(false);
+ return v8::Nothing<bool>();
46
}
47
48
size_t storage;
0 commit comments