Merge pull request #14006 from Snuffleupagus/writeValue-boolean
[src/core/writer.js] Remove unnecessary string-wrapping for boolean values in `writeValue` (PR 13998 follow-up)
This commit is contained in:
commit
8f72fc561e
@ -84,7 +84,7 @@ function writeValue(value, buffer, transform) {
|
||||
} else if (typeof value === "number") {
|
||||
buffer.push(numberToString(value));
|
||||
} else if (typeof value === "boolean") {
|
||||
buffer.push(`${value.toString()}`);
|
||||
buffer.push(value.toString());
|
||||
} else if (isDict(value)) {
|
||||
writeDict(value, buffer, transform);
|
||||
} else if (isStream(value)) {
|
||||
|
Loading…
Reference in New Issue
Block a user