We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe5b8dc commit b4b9e0eCopy full SHA for b4b9e0e
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