mirror of https://github.com/lukechilds/node.git
Browse Source
Buffer#write() was showing the deprecation warning when only buf.write('string') was passed. This is incorrect since the encoding is always optional. Argument order should follow: Buffer#write(string[, offset[, length]][, encoding]) (yeah, not confusing at all)v0.11.9-release
1 changed files with 15 additions and 6 deletions
Loading…
Reference in new issue