mirror of https://github.com/lukechilds/node.git
Browse Source
When the 'buffer' encoding is passed to spawnSync(), an exception is thrown in Buffer's toString() method because 'buffer' is not a valid encoding there. This commit special cases the 'buffer' encoding. Fixes: https://github.com/nodejs/node/issues/6930 PR-URL: https://github.com/nodejs/node/pull/6939 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v4.x
cjihrig
9 years ago
committed by
Myles Borins
3 changed files with 26 additions and 1 deletions
Loading…
Reference in new issue